Skip to contentSkip to conversation

Converting dev_* to drm_* in amdgpu

DISCUSSION Koorosh Lahijani 1 participant 1 message Jul 22, 2025

lore
Share & tools
lore
#0 lore raw

Hi,

I'm Koorosh a computer engineering student, I like to start learning kernel development and I'm interested in the Linux graphics stack.

I like to take up the task of converting the dev_* logging macros to their drm_* counterparts if this change is wanted in amdgpu driver.

One small question about the task, it is mentioned in linux/Documentation/gpu/todo.rst:217 that the reason for using dev_* macros is differentiating between instances of the same driver, should I do anything special on the format string part for this or leaving it to the first argument of drm_* macros is enough?

Regards,
Koorosh