[PATCH 1/1] drm/nouveau/disp: Use dev->dev to get the device

Sakari Ailus sakari.ailus at linux.intel.com
Wed Jun 25 08:50:46 UTC 2025


Hi Danilo,

On Wed, Jun 25, 2025 at 10:20:07AM +0200, Danilo Krummrich wrote:
> On 4/9/25 12:33 PM, Sakari Ailus wrote:
> > The local variable dev points to drm->dev already, use dev directly.
> > 
> > Signed-off-by: Sakari Ailus <sakari.ailus at linux.intel.com>
> > ---
> > Hi folks,
> > 
> > The background is that I'll be using a Coccinelle spatch soon to remove
> > (most) pm_runtime_mark_last_busy() calls. That won't work if the arguments
> > aren't the same.
> 
> If you want to submit / merge it together with your rework:
> 
> Acked-by: Danilo Krummrich <dakr at kernel.org>
> 
> If I should pick it up, please let me know.

Either is definitely possible. However I'd prefer you to take this in order
to avoid potential conflicts with merging larger patches later on.

Thanks.

-- 
Kind regards,

Sakari Ailus


More information about the dri-devel mailing list