aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm/hdlcd_drv.h
diff options
context:
space:
mode:
authorLiviu Dudau <Liviu.Dudau@arm.com>2016-06-01 15:00:15 +0100
committerLiviu Dudau <Liviu.Dudau@arm.com>2016-06-02 17:45:29 +0100
commit96ebb1f3ed4dca25c6f5d1868b0de61f9366612a (patch)
tree6fbf2d66455ae62f4f5afc4d67d060f700493c5e /drivers/gpu/drm/arm/hdlcd_drv.h
parentdrm/hdlcd: Fix up crtc_state->event handling (diff)
downloadlinux-dev-96ebb1f3ed4dca25c6f5d1868b0de61f9366612a.tar.xz
linux-dev-96ebb1f3ed4dca25c6f5d1868b0de61f9366612a.zip
drm: hdlcd: Cleanup the atomic plane operations
Harden the plane_check() code to drop attempts at scaling because that is not supported. Make hdlcd_plane_atomic_update() set the pitch and line length registers that correctly reflect the plane's values. And make hdlcd_crtc_mode_set_nofb() a helper function for hdlcd_crtc_enable() rather than an exposed hook. Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/hdlcd_drv.h')
-rw-r--r--drivers/gpu/drm/arm/hdlcd_drv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/hdlcd_drv.h b/drivers/gpu/drm/arm/hdlcd_drv.h
index 922a1dc7cb88..e3950a071152 100644
--- a/drivers/gpu/drm/arm/hdlcd_drv.h
+++ b/drivers/gpu/drm/arm/hdlcd_drv.h
@@ -9,7 +9,6 @@ struct hdlcd_drm_private {
void __iomem *mmio;
struct clk *clk;
struct drm_fbdev_cma *fbdev;
- struct drm_framebuffer *fb;
struct drm_crtc crtc;
struct drm_plane *plane;
struct drm_atomic_state *state;