[Intel-gfx] [PATCH 28/37] drm/i915: share IVB cursor routine with Haswell

Rodrigo Vivi rodrigo.vivi at gmail.com
Mon Mar 26 19:52:51 CEST 2012


Reviewed-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>

On Wed, Mar 21, 2012 at 10:10 PM, Eugeni Dodonov
<eugeni.dodonov at intel.com> wrote:
> Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
> ---
>  drivers/gpu/drm/i915/intel_display.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 2978597..3b3dc15 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -6467,7 +6467,7 @@ static void intel_crtc_update_cursor(struct drm_crtc *crtc,
>        if (!visible && !intel_crtc->cursor_visible)
>                return;
>
> -       if (IS_IVYBRIDGE(dev)) {
> +       if (IS_IVYBRIDGE(dev) || IS_HASWELL(dev)) {
>                I915_WRITE(CURPOS_IVB(pipe), pos);
>                ivb_update_cursor(crtc, base);
>        } else {
> --
> 1.7.9.2
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
GPG: 0x905BE242 @ wwwkeys.pgp.net



More information about the Intel-gfx mailing list