Skip to content

Commit 2529d46

Browse files
author
Thomas Zimmermann
committed
drm/fbdev-dma: Use fbdev DMA helpers
Use fbdev's DMA helpers for fbdev-dma. They are equivalent to the previously used system-memory helpers, so no functional changes here. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Acked-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 6f0f694 commit 2529d46

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/gpu/drm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ config DRM_TTM_HELPER
224224
config DRM_GEM_DMA_HELPER
225225
tristate
226226
depends on DRM
227-
select FB_SYS_HELPERS if DRM_FBDEV_EMULATION
227+
select FB_DMA_HELPERS if DRM_FBDEV_EMULATION
228228
help
229229
Choose this if you need the GEM DMA helper functions
230230

drivers/gpu/drm/drm_fbdev_dma.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ static const struct fb_ops drm_fbdev_dma_fb_ops = {
6262
.owner = THIS_MODULE,
6363
.fb_open = drm_fbdev_dma_fb_open,
6464
.fb_release = drm_fbdev_dma_fb_release,
65-
__FB_DEFAULT_SYS_OPS_RDWR,
65+
__FB_DEFAULT_DMA_OPS_RDWR,
6666
DRM_FB_HELPER_DEFAULT_OPS,
67-
__FB_DEFAULT_SYS_OPS_DRAW,
67+
__FB_DEFAULT_DMA_OPS_DRAW,
6868
.fb_mmap = drm_fbdev_dma_fb_mmap,
6969
.fb_destroy = drm_fbdev_dma_fb_destroy,
7070
};

0 commit comments

Comments
 (0)