diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-11-03 16:14:39 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-11-05 17:05:54 +0100 |
commit | 3add5f97734d8cbb5e2035dca226f691eb2f12a2 (patch) | |
tree | c2d3cbb69909e55ac58873f117bc724ade420ebc /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | f231af498c29f3acbd4436f67a8c7de8a428fb0f (diff) |
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 <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221103151446.2638-17-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions