[Intel-gfx] [PATCH v3 4/4] drm/i915: Support variable cursor height on ivb+
Chris Wilson
chris at chris-wilson.co.uk
Sat Sep 13 18:23:23 CEST 2014
On Fri, Sep 12, 2014 at 08:53:35PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> IVB introduced the CUR_FBC_CTL register which allows reducing the cursor
> height down to 8 lines from the otherwise square cursor dimensions.
> Implement support for it.
>
> Commandeer the otherwise unused intel_crtc->cursor_size to track the
> current value of CUR_FBC_CTL so that we can avoid duplicating the
> complicated device type checks in i9xx_update_cursor().
>
> One caveat to note is that CUR_FBC_CTL can't be used with 180 degree
> rotation, so when cursor rotation gets introduced some extra checks are
> needed.
Where would be a good place to put that note into a comment?
So other than the mystery of rotated cursors, the code looks clear
enough. One side question, is the CHV/VLV conflation correct here?
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list