[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPj87rPSoYe10JqpwYO=-tTX2EqnwB29wrYfhyWwpAyAczRVig@mail.gmail.com>
Date: Fri, 15 Aug 2025 12:17:46 +0100
From: Daniel Stone <daniel@...ishbar.org>
To: Steven Price <steven.price@....com>
Cc: Boris Brezillon <boris.brezillon@...labora.com>, Liviu Dudau <liviu.dudau@....com>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Karunika Choo <karunika.choo@....com>, Chia-I Wu <olvaffe@...il.com>
Subject: Re: [PATCH] drm/panthor: Remove dead code in mmu_hw_do_operation_locked
Hi Steven,
On Fri, 15 Aug 2025 at 11:25, Steven Price <steven.price@....com> wrote:
> The only callers to mmu_hw_do_operation_locked() pass an 'op' of either
> AS_COMAND_FLUSH_MEM or AS_COMMAND_FLUSH_PT. So remove the code paths
> that test for other operations and add a drm_WARN_ON() to catch the
> posibility of others appearing the future.
Thanks! I think it would make sense to also inline
mmu_hw_do_flush_on_gpu_ctrl() here though.
Cheers,
Daniel
Powered by blists - more mailing lists