[Intel-gfx] [PATCH 5/7] drm/i915: Disable trickle feed for SNB/IVB cursors
Mika Kahola
mika.kahola at intel.com
Fri Jun 1 10:25:21 UTC 2018
On Tue, 2018-01-30 at 22:38 +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> We disable trickle feed whenever possible, except for the cursors
> on SNB/IVB. Let's try disabling it there too if for no other reason
> than consistency.
>
Reviewed-by: Mika Kahola <mika.kahola at intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c
> b/drivers/gpu/drm/i915/intel_display.c
> index 0cf02f226fd4..ab2402c225c7 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -9548,6 +9548,9 @@ static u32 i9xx_cursor_ctl(const struct
> intel_crtc_state *crtc_state,
>
> cntl = MCURSOR_GAMMA_ENABLE;
>
> + if (IS_GEN6(dev_priv) || IS_IVYBRIDGE(dev_priv))
> + cntl |= MCURSOR_TRICKLE_FEED_DISABLE;
> +
> if (HAS_DDI(dev_priv))
> cntl |= MCURSOR_PIPE_CSC_ENABLE;
>
--
Mika Kahola - Intel OTC
More information about the Intel-gfx
mailing list