aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2022-11-03 15:14:39 +0000
committerThomas Zimmermann <[email protected]>2022-11-05 16:05:54 +0000
commit3add5f97734d8cbb5e2035dca226f691eb2f12a2 (patch)
treec2d3cbb69909e55ac58873f117bc724ade420ebc /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
parentdrm/fb-helper: Disconnect damage worker from update logic (diff)
downloadkernel-3add5f97734d8cbb5e2035dca226f691eb2f12a2.tar.gz
kernel-3add5f97734d8cbb5e2035dca226f691eb2f12a2.zip
drm/fb-helper: Call fb_sync in I/O functions
Call struct fb_ops.fb_sync in drm_fbdev_{read,write}() to mimic the behavior of fbdev. Fbdev implementations of fb_read and fb_write in struct fb_ops invoke fb_sync to synchronize with outstanding operations before I/O. Doing the same in DRM implementations will allow us to use them throughout DRM drivers. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions