Re: [PATCH v3 4/6] drm/radeon: add helper rdev_to_drm(rdev)

2024-07-03 Thread Thomas Zimmermann
Am 30.06.24 um 18:59 schrieb Wu Hoi Pok: Add helper rdev_to_drm(rdev), similar to amdgpu, most function should access the "drm_device" with "rdev_to_drm(rdev)" instead, where amdgpu has "adev_to_drm(adev)". It also makes changing from "*drm_device" to "drm_device" in "radeon_devicce" later on

[PATCH v3 4/6] drm/radeon: add helper rdev_to_drm(rdev)

2024-06-30 Thread Wu Hoi Pok
Add helper rdev_to_drm(rdev), similar to amdgpu, most function should access the "drm_device" with "rdev_to_drm(rdev)" instead, where amdgpu has "adev_to_drm(adev)". It also makes changing from "*drm_device" to "drm_device" in "radeon_devicce" later on easier. Signed-off-by: Wu Hoi Pok --- drive