]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/fb-cma-helper: Add drm_fb_cma_get_gem_addr()
authorYannick Fertre <yannick.fertre@st.com>
Fri, 14 Apr 2017 10:13:32 +0000 (12:13 +0200)
committerEric Anholt <eric@anholt.net>
Fri, 14 Apr 2017 18:30:28 +0000 (11:30 -0700)
commit4636ce93d5b25632c2cdbeccebef912e1c990c8e
tree02a2a10c7d75c18b3092e0867fc522eb3152a70f
parent97bf3a9aa60f0d25541738feeb28e39decc41b76
drm/fb-cma-helper: Add drm_fb_cma_get_gem_addr()

Add function drm_fb_cma_get_gem_addr() which return the physical address
of framebuffer (1st pixel). This function will usually be called by plane
callback (atomic_update).

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/1492164819-10513-3-git-send-email-yannick.fertre@st.com
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/drm_fb_cma_helper.c
include/drm/drm_fb_cma_helper.h