From: Daniel Kurtz Date: Fri, 4 Apr 2014 09:22:01 +0000 (+0800) Subject: drm/exynos/fbdev: don't set fix.smem/mmio_{start,len} X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~17^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f1eab8d8ab59e799f7d51d62410b398607a7bc3;p=pandora-kernel.git drm/exynos/fbdev: don't set fix.smem/mmio_{start,len} Kernel access to the eyxnos fbdev framebuffer is via its gem object's kernel mapping (kvaddr, stored in info->screen_base). User space access is provided by mmap(), read() and write() of /dev/fb/fb0. These functions also only use screen_base/screen_size(). Therefore, it is not necessary to set fix->smem_{start,len} or fix->mmio_{start,len} fields. This avoids leaking kernel, physical and dma mapped addresses to user space via the ioctls FBIOGET_VSCREENINFO and FBIOGET_FSCREENINFO. Signed-off-by: Daniel Kurtz Signed-off-by: Inki Dae --- Reading git-diff-tree failed