drm/i915: Skip clock checks on BDW
Subsystems (2)
PATCH 1/1 drm/i915: Skip clock checks on BDW
From: Ville Syrjälä <[email protected]>
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ä <[email protected]>
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_display.c +1 -1
@@ -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); }
Signature · 6 lines
1.8.3.2 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines · On Mon, Dec 02, 2013 at 11:23:39AM +0200, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
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ä <[email protected]>
Reviewed-by Damien Lespiau <[email protected]>
Signature · 1 line
Damien
Quoted 24 lines
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_display.c +1
-1@@ -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); }Signature · 6 lines
1.8.3.2 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Daniel Vetter
AppliedQuoted 9 lines · Damien Lespiau
Quoted 6 lines · On Mon, Dec 02, 2013 at 11:23:39AM +0200, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
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ä <[email protected]>Reviewed-by Damien Lespiau <[email protected]>
Picked up for -fixes, thanks for the patch.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch