summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
authorRob Clark2011-12-14 03:19:36 +0100
committerDave Airlie2012-01-05 11:00:16 +0100
commit0a7eb243db7864640134f8c57e6856f8eb3ed7c6 (patch)
tree93580b87b27d341801f9724d0daba75e933d9412 /drivers/gpu/drm/i915
parentdrm: disconnect plane from fb/crtc when disabled (diff)
downloadkernel-qcow2-linux-0a7eb243db7864640134f8c57e6856f8eb3ed7c6.tar.gz
kernel-qcow2-linux-0a7eb243db7864640134f8c57e6856f8eb3ed7c6.tar.xz
kernel-qcow2-linux-0a7eb243db7864640134f8c57e6856f8eb3ed7c6.zip
drm: add support for private planes
In cases where the scanout hw is sufficiently similar between "overlay" and traditional crtc layers, it might be convenient to allow the driver to create internal drm_plane helper objects used by the drm_crtc implementation, rather than duplicate code between the plane and crtc. A private plane is not exposed to userspace. Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/intel_sprite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
index b26e7c46a752..d13989fda501 100644
--- a/drivers/gpu/drm/i915/intel_sprite.c
+++ b/drivers/gpu/drm/i915/intel_sprite.c
@@ -659,7 +659,7 @@ intel_plane_init(struct drm_device *dev, enum pipe pipe)
possible_crtcs = (1 << pipe);
ret = drm_plane_init(dev, &intel_plane->base, possible_crtcs,
&intel_plane_funcs, snb_plane_formats,
- ARRAY_SIZE(snb_plane_formats));
+ ARRAY_SIZE(snb_plane_formats), false);
if (ret)
kfree(intel_plane);