]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/komeda: Convert logging in komeda_crtc.c to drm_* with drm_device parameter
authorRahul Kumar <rk0006818@gmail.com>
Fri, 26 Sep 2025 09:30:08 +0000 (15:00 +0530)
committerLiviu Dudau <liviu.dudau@arm.com>
Thu, 16 Oct 2025 15:08:25 +0000 (16:08 +0100)
commit83f81f5499b511552b40d3995a11640d70bd928c
tree1585eecfc6f490508efa53ee284120c4e327ef98
parent6674f54b21a6b20f8157426bd0ace3e249b3e4ba
drm/komeda: Convert logging in komeda_crtc.c to drm_* with drm_device parameter

Replace all dev_err(), dev_warn(), dev_info() and DRM_ERROR/WARN/INFO()
calls in drivers/gpu/drm/arm/display/komeda/komeda_crtc.c with the
corresponding drm_err(), drm_warn(), and drm_info() helpers.

The new drm_*() logging functions take a struct drm_device * as the
first argument. This allows the DRM core to prefix log messages with
the specific DRM device name and instance, which is essential for
distinguishing logs when multiple GPUs or display controllers are present.

This change aligns komeda with the DRM TODO item: "Convert logging to
drm_* functions with drm_device parameter".

Signed-off-by: Rahul Kumar <rk0006818@gmail.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://lore.kernel.org/r/20250926093008.1949131-1-rk0006818@gmail.com
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c