Dear Patrik, Am Sonntag, den 13.05.2012, 15:07 +0200 schrieb Patrik Jakobsson: > 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 s,has,have, > requirement. How can it be verified, that the hardware cursor is working? > Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@xxxxxxxxx> > --- > drivers/gpu/drm/gma500/cdv_device.c | 1 + > drivers/gpu/drm/gma500/mdfld_device.c | 1 + > drivers/gpu/drm/gma500/oaktrail_device.c | 1 + > drivers/gpu/drm/gma500/psb_device.c | 1 + > drivers/gpu/drm/gma500/psb_drv.h | 1 + > drivers/gpu/drm/gma500/psb_intel_display.c | 62 ++++++++++++++++++++++++---- > drivers/gpu/drm/gma500/psb_intel_drv.h | 6 +-- > 7 files changed, 61 insertions(+), 12 deletions(-) […] > --- a/drivers/gpu/drm/gma500/psb_drv.h > +++ b/drivers/gpu/drm/gma500/psb_drv.h > @@ -654,6 +654,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 */ s,need,needs, > /* Sub functions */ > struct drm_crtc_helper_funcs const *crtc_helper; […] Thanks, Paul
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel