[Intel-gfx] [PATCH] drm/i915: Skip clock checks on BDW

Damien Lespiau damien.lespiau at intel.com
Mon Dec 2 15:01:45 CET 2013


On Mon, Dec 02, 2013 at 11:23:39AM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> We don't have clock state readout support for DDI, so skip the pipe
> config clock checks on all DDI platforms.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>

-- 
Damien

> ---
>  drivers/gpu/drm/i915/intel_display.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 680685f..1c48edf 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -9146,7 +9146,7 @@ intel_pipe_config_compare(struct drm_device *dev,
>  	if (IS_G4X(dev) || INTEL_INFO(dev)->gen >= 5)
>  		PIPE_CONF_CHECK_I(pipe_bpp);
>  
> -	if (!IS_HASWELL(dev)) {
> +	if (!HAS_DDI(dev)) {
>  		PIPE_CONF_CHECK_CLOCK_FUZZY(adjusted_mode.crtc_clock);
>  		PIPE_CONF_CHECK_CLOCK_FUZZY(port_clock);
>  	}
> -- 
> 1.8.3.2
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



More information about the Intel-gfx mailing list