On Tue, Dec 11, 2018 at 11:25:45AM -0800, Bob Paauwe wrote:
> It's not just GEN9 platforms that allow for pipes to be disabled via
> the DFSM register, but all later platforms as well.
> 
> v2: drop pointless parentheses (Ville)
> 
> Signed-off-by: Bob Paauwe <[email protected]>

Reviewed-by: Matt Roper <[email protected]>

Pushed to dinq.  Thanks for the patch.


Matt

> ---
>  drivers/gpu/drm/i915/intel_device_info.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_device_info.c 
> b/drivers/gpu/drm/i915/intel_device_info.c
> index 1e56319334f3..bd5c4d62c635 100644
> --- a/drivers/gpu/drm/i915/intel_device_info.c
> +++ b/drivers/gpu/drm/i915/intel_device_info.c
> @@ -811,7 +811,7 @@ void intel_device_info_runtime_init(struct 
> intel_device_info *info)
>                       DRM_INFO("PipeC fused off\n");
>                       info->num_pipes -= 1;
>               }
> -     } else if (HAS_DISPLAY(dev_priv) && IS_GEN9(dev_priv)) {
> +     } else if (HAS_DISPLAY(dev_priv) && INTEL_GEN(dev_priv) >= 9) {
>               u32 dfsm = I915_READ(SKL_DFSM);
>               u8 disabled_mask = 0;
>               bool invalid;
> -- 
> 2.17.1
> 
> _______________________________________________
> Intel-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Matt Roper
Graphics Software Engineer
IoTG Platform Enabling & Development
Intel Corporation
(916) 356-2795
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to