[PATCH] drm/xe: use drm based debugging instead of dev
Jani Nikula
jani.nikula at intel.com
Mon Feb 12 19:30:14 UTC 2024
On Mon, 12 Feb 2024, Thomas Hellström <thomas.hellstrom at linux.intel.com> wrote:
> On Mon, 2024-02-12 at 16:57 +0200, Jani Nikula wrote:
>> Prefer drm_dbg() over dev_dbg().
>>
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Thanks, pushed to drm-xe-next.
BR,
Jani.
>
>> ---
>> drivers/gpu/drm/xe/xe_irq.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_irq.c
>> b/drivers/gpu/drm/xe/xe_irq.c
>> index 17b3affdb6a0..2f5d179e0d00 100644
>> --- a/drivers/gpu/drm/xe/xe_irq.c
>> +++ b/drivers/gpu/drm/xe/xe_irq.c
>> @@ -442,7 +442,7 @@ static irqreturn_t dg1_irq_handler(int irq, void
>> *arg)
>> * irq as device is inaccessible.
>> */
>> if (master_ctl == REG_GENMASK(31, 0)) {
>> - dev_dbg(tile_to_xe(tile)->drm.dev,
>> + drm_dbg(&tile_to_xe(tile)->drm,
>> "Ignore this IRQ as device might be
>> in DPC containment.\n");
>> return IRQ_HANDLED;
>> }
>
--
Jani Nikula, Intel
More information about the Intel-xe
mailing list