summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/psb_drv.h
diff options
context:
space:
mode:
authorPatrik Jakobsson2012-05-21 16:27:30 +0200
committerDave Airlie2012-05-22 11:15:34 +0200
commitbc794829141f28e14fe7d0e07e35870bd9aee78c (patch)
treed6cbf396d69caf53961e4c89b36cb359d51cc0f7 /drivers/gpu/drm/gma500/psb_drv.h
parentgma500: Prevent endless loop in panel power up sequence (diff)
downloadkernel-qcow2-linux-bc794829141f28e14fe7d0e07e35870bd9aee78c.tar.gz
kernel-qcow2-linux-bc794829141f28e14fe7d0e07e35870bd9aee78c.tar.xz
kernel-qcow2-linux-bc794829141f28e14fe7d0e07e35870bd9aee78c.zip
gma500: handle poulsbo cursor restriction
Poulsbo needs a physical address in the cursor base register. We allocate a stolen memory buffer and copy the cursor image provided by userspace into it. When/If we get our own userspace driver we can map this stolen memory directly. The patch also adds a mark in chip ops so we can identify devices that has this requirement. Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_drv.h')
-rw-r--r--drivers/gpu/drm/gma500/psb_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h
index a1b0c0bce972..1bd115ecefe1 100644
--- a/drivers/gpu/drm/gma500/psb_drv.h
+++ b/drivers/gpu/drm/gma500/psb_drv.h
@@ -655,6 +655,7 @@ struct psb_ops {
int sgx_offset; /* Base offset of SGX device */
int hdmi_mask; /* Mask of HDMI CRTCs */
int lvds_mask; /* Mask of LVDS CRTCs */
+ int cursor_needs_phys; /* If cursor base reg need physical address */
/* Sub functions */
struct drm_crtc_helper_funcs const *crtc_helper;