[Intel-gfx] [PATCH 1/2] drm/i915: Kill intel_crtc->cursor_bo

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 14 03:32:23 PST 2015

On Mon, Dec 14, 2015 at 01:16:47PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> The vma may have been rebound between the last time the cursor was
> enabled and now, so skipping the cursor gtt offset deduction is not
> safe unless we would also reset cursor_bo to NULL when disabling the
> cursor. Just thow cursor_bo to the bin instead since it's lost all
> other uses thanks to universal plane support.

You could also mention that since updating the cursor is so slow now
through the universal-plane support, that a fast path to avoid a few
writes/checks is also irrelevant.

Chris Wilson, Intel Open Source Technology Centre

More information about the Intel-gfx mailing list