Re: [Intel-gfx] [PATCH] drm/i915: fix assert_cursor on BDW

2014-02-28 Thread Jani Nikula
On Thu, 27 Feb 2014, Ville Syrjälä ville.syrj...@linux.intel.com wrote: On Thu, Feb 27, 2014 at 04:30:56PM -0300, Paulo Zanoni wrote: From: Paulo Zanoni paulo.r.zan...@intel.com We need to read the correct register, not a register that doesn't exist and will trigger Unclaimed register

[Intel-gfx] [PATCH] drm/i915: fix assert_cursor on BDW

2014-02-27 Thread Paulo Zanoni
From: Paulo Zanoni paulo.r.zan...@intel.com We need to read the correct register, not a register that doesn't exist and will trigger Unclaimed register messages when we touch it. Also rearrange the checks in an attempt to prevent this error from happening again. Signed-off-by: Paulo Zanoni

Re: [Intel-gfx] [PATCH] drm/i915: fix assert_cursor on BDW

2014-02-27 Thread Ville Syrjälä
On Thu, Feb 27, 2014 at 04:30:56PM -0300, Paulo Zanoni wrote: From: Paulo Zanoni paulo.r.zan...@intel.com We need to read the correct register, not a register that doesn't exist and will trigger Unclaimed register messages when we touch it. Also rearrange the checks in an attempt to