mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
815 B
Diff
27 lines
815 B
Diff
|
From dd277c9a851cc4b5b6521cc2c6d79ce407488910 Mon Sep 17 00:00:00 2001
|
||
|
From: "S.J.R. van Schaik" <stephan@synkhronix.com>
|
||
|
Date: Thu, 19 Jun 2014 17:08:06 +0100
|
||
|
Subject: [PATCH] exynos DRM: have exynos_drm_fbdev_update() set smem_start and
|
||
|
smem_len.
|
||
|
|
||
|
---
|
||
|
drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
|
||
|
index 5a7cd8b..6b96fd4 100644
|
||
|
--- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
|
||
|
+++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
|
||
|
@@ -125,6 +125,8 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,
|
||
|
|
||
|
fbi->screen_base = buffer->kvaddr;
|
||
|
fbi->screen_size = size;
|
||
|
+ fbi->fix.smem_start = buffer->dma_addr;
|
||
|
+ fbi->fix.smem_len = size;
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
--
|
||
|
1.8.5.5
|
||
|
|