]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/fbdev: Use lmem physical addresses for fb_mmap() on discrete
authorMohammed Khajapasha <mohammed.khajapasha@intel.com>
Tue, 27 Apr 2021 08:54:15 +0000 (09:54 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Tue, 27 Apr 2021 15:21:47 +0000 (16:21 +0100)
commita9cf6ab3e7e4fc9e3720efe15cad3f7ae2322141
treeff9df6a87eeced35eb277429029132a4a5360431
parent6aed5673f00dcbe86dc40408cab6d85abacd20d4
drm/i915/fbdev: Use lmem physical addresses for fb_mmap() on discrete

Use local memory io BAR address for fbdev's fb_mmap() operation on
discrete, fbdev uses the physical address of our framebuffer for its
fb_mmap() fn.

Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210427085417.120246-5-matthew.auld@intel.com
drivers/gpu/drm/i915/display/intel_fbdev.c