drm/amdgpu: use dirty framebuffer helper
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Tue, 6 Sep 2022 19:01:49 +0000 (15:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 16:54:23 +0000 (12:54 -0400)
commit542ab4917338d735e2dde6c8f4e042ac18ff5152
treec6788623c83d2c8f1736d69379899a43213864ca
parentdd6aeb4e5f59984078275169986ff601f5d16385
drm/amdgpu: use dirty framebuffer helper

Currently, we aren't handling DRM_IOCTL_MODE_DIRTYFB. So, use
drm_atomic_helper_dirtyfb() as the dirty callback in the amdgpu_fb_funcs
struct.

Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c