[Intel-gfx] [PATCH 2/2] drm/i915: Drop the broken cursor base==0 special casing

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


On Mon, Dec 14, 2015 at 01:16:48PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> The cursor code tries to treat base==0 to mean disabled. That fails
> when the cursor bo gets bound at ggtt offset 0, and the user is left
> looking at an invisible cursor.
> 
> We lose the disabled->disabled optimization, but that seems like
> something better handled at a slightly higher level.
> 
> Cc: Takashi Iwai <tiwai at suse.de>
> Cc: Jani Nikula <jani.nikula at linux.intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list