]> git.itanic.dy.fi Git - linux-stable/commit
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 18:25:39 +0000 (14:25 -0400)
commit66f99628eb24409cb8feb5061f78283c8b65f820
tree7a57c7331a0d902a22dc57ec2331a3c6a29924cc
parent6c20490663553cd7e07d8de8af482012329ab9d6
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