[PATCH v6 00/10] drm: Remove usage of deprecated DRM_* macros

Siddh Raman Pant code at siddh.me
Tue Jan 31 10:15:02 UTC 2023


On Mon, 9 Jan 2023 at 18:30:25 +0530, Siddh Raman Pant wrote:
> This patchset aims to remove usages of deprecated DRM_* macros from the
> files residing in drivers/gpu/drm root.
> 
> In process, I found out that NULL as first argument of drm_dbg_* wasn't
> working, but it was listed as the alternative in deprecation comment,
> so I fixed that before removing usages of DRM_DEBUG_* macros. Courtesy
> discussion on v1, I added support for NULL in drm_()* macros too.
> 
> This patchset should be applied in order as changes might be dependent.
> 
> Please review and let me know if any errors are there, and hopefully
> this gets accepted.
> 
> ---
> v5 -> v6:
> - Move drm_device to default case in _Generic as it is the default behaviour.
> - Fix incorrect const drm_device handling in _Generic.
> - Minor positioning / comment changes.
> 
> [...]
> 
> Siddh Raman Pant (10):
>   drm/print: Fix and add support for NULL as first argument in drm_*
>     macros
>   drm: Remove usage of deprecated DRM_INFO
>   drm: Remove usage of deprecated DRM_NOTE
>   drm: Remove usage of deprecated DRM_ERROR
>   drm: Remove usage of deprecated DRM_DEBUG
>   drm: Remove usage of deprecated DRM_DEBUG_DRIVER
>   drm: Remove usage of deprecated DRM_DEBUG_KMS
>   drm: Remove usage of deprecated DRM_DEBUG_PRIME
>   drm/drm_blend: Remove usage of deprecated DRM_DEBUG_ATOMIC
>   drm/drm_lease: Remove usage of deprecated DRM_DEBUG_LEASE
> 
>  [...]

Hello,

Please review these patches, which I sent more than 2 weeks ago. Note
that the last three patches have been already merged. Lore link is:
https://lore.kernel.org/dri-devel/cover.1673269059.git.code@siddh.me/

Thanks,
Siddh


More information about the dri-devel mailing list