Re: [Intel-gfx] [PATCH 2/2] drm/i915: Fix SKL cursor watermarks

2017-03-22 Thread Ville Syrjälä
On Wed, Mar 22, 2017 at 11:51:56AM +0200, Ander Conselvan De Oliveira wrote: > On Wed, 2017-03-22 at 10:01 +0100, Maarten Lankhorst wrote: > > Op 14-03-17 om 16:10 schreef ville.syrj...@linux.intel.com: > > > From: Ville Syrjälä > > > > > > Use intel_wm_plane_visible() to determine cursor visibil

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Fix SKL cursor watermarks

2017-03-22 Thread Ander Conselvan De Oliveira
On Wed, 2017-03-22 at 10:01 +0100, Maarten Lankhorst wrote: > Op 14-03-17 om 16:10 schreef ville.syrj...@linux.intel.com: > > From: Ville Syrjälä > > > > Use intel_wm_plane_visible() to determine cursor visibility for SKL+ > > also. Previously SKL+ would check the actual visibility which now > >

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Fix SKL cursor watermarks

2017-03-22 Thread Maarten Lankhorst
Op 14-03-17 om 16:10 schreef ville.syrj...@linux.intel.com: > From: Ville Syrjälä > > Use intel_wm_plane_visible() to determine cursor visibility for SKL+ > also. Previously SKL+ would check the actual visibility which now > conflicts with the assumptions in intel_legacy_cursor_update(). > > We al

[Intel-gfx] [PATCH 2/2] drm/i915: Fix SKL cursor watermarks

2017-03-14 Thread ville . syrjala
From: Ville Syrjälä Use intel_wm_plane_visible() to determine cursor visibility for SKL+ also. Previously SKL+ would check the actual visibility which now conflicts with the assumptions in intel_legacy_cursor_update(). We also change SKL+ to compute the cursor watermarks based on the unclipped c