]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/tegra: Remove bogus tegra_framebuffer structure
authorThierry Reding <thierry.reding@avionic-design.de>
Tue, 19 Feb 2013 15:22:51 +0000 (16:22 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 22 Feb 2013 07:21:10 +0000 (08:21 +0100)
commit894752bb576a26d3343cf8c674b73899f948da68
tree050696a7025835fe0b897d87739cb9417116de19
parent8cf1e9811471f2910fa38dc1b28e1789080ba961
drm/tegra: Remove bogus tegra_framebuffer structure

Tegra uses the CMA FB helpers so framebuffers passed to the driver need
to use the corresponding functions to access the underlying GEM objects.

This used to work because struct tegra_framebuffer was sufficiently
similar to struct drm_fb_cma but that isn't guaranteed to stay that way.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/drm.h