diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-10-14 12:02:48 +0800 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-10-16 09:53:55 +0200 |
commit | cff2192f807d442e498d43a20e54c6851cd4cb56 (patch) | |
tree | 07f3500089578d4c72fe8e211fa04f64e51fd642 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 8270249fbeaf0a37250b0c533fd3613886ca3493 (diff) |
drm/sun4i: backend: Use drm_fb_cma_get_gem_addr() to get display memory
Commit 4636ce93d5b2 ("drm/fb-cma-helper: Add drm_fb_cma_get_gem_addr()")
adds a new helper, which covers fetching a drm_framebuffer's GEM object
and calculating the buffer address for a given plane.
This patch uses this helper to replace our own open coded version of the
same function.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171014040252.9621-4-wens@csie.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions