17 lines
700 B
Diff
17 lines
700 B
Diff
diff --git a/drivers/gpu/drm/i915/display/intel_cdclk.c b/drivers/gpu/drm/i915/display/intel_cdclk.c
|
|
--- a/drivers/gpu/drm/i915/display/intel_cdclk.c
|
|
+++ b/drivers/gpu/drm/i915/display/intel_cdclk.c
|
|
@@ -2366,8 +2366,10 @@ static void bxt_sanitize_cdclk(struct intel_display *display)
|
|
* dividers both syncing to an active pipe, or asynchronously
|
|
* (PIPE_NONE).
|
|
*/
|
|
- cdctl &= ~bxt_cdclk_cd2x_pipe(display, INVALID_PIPE);
|
|
- cdctl |= bxt_cdclk_cd2x_pipe(display, INVALID_PIPE);
|
|
+ if (DISPLAY_VER(display) < 30) {
|
|
+ cdctl &= ~bxt_cdclk_cd2x_pipe(display, INVALID_PIPE);
|
|
+ cdctl |= bxt_cdclk_cd2x_pipe(display, INVALID_PIPE);
|
|
+ }
|
|
|
|
if (cdctl != expected) {
|
|
if (DISPLAY_VER(display) < 20) {
|