[Intel-gfx] [PATCH 4/4] drm/i915: Enable atomic on VLV/CHV

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Mon Mar 6 07:05:46 UTC 2017


Op 03-03-17 om 16:19 schreef ville.syrjala at linux.intel.com:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> VLV/CHV watermarks are now able to handle the radiation, so
> mark these platforms as ready for atomic.
>
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Suggested-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>  drivers/gpu/drm/i915/i915_drv.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
> index b1e9027a4f80..c8944bf65a36 100644
> --- a/drivers/gpu/drm/i915/i915_drv.c
> +++ b/drivers/gpu/drm/i915/i915_drv.c
> @@ -1214,9 +1214,8 @@ int i915_driver_load(struct pci_dev *pdev, const struct pci_device_id *ent)
>  	struct drm_i915_private *dev_priv;
>  	int ret;
>  
> -	/* Enable nuclear pageflip on ILK+, except vlv/chv */
> -	if (!i915.nuclear_pageflip &&
> -	    (match_info->gen < 5 || match_info->has_gmch_display))
> +	/* Enable nuclear pageflip on ILK+ */
> +	if (!i915.nuclear_pageflip && match_info->gen < 5)
>  		driver.driver_features &= ~DRIVER_ATOMIC;
>  
>  	ret = -ENOMEM;

Reviewed-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>



More information about the Intel-gfx mailing list