summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/hsw_ips.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2022-08-29 16:18:11 +0300
committerJani Nikula <jani.nikula@intel.com>2022-08-31 14:21:16 +0300
commitd51309b4e9aa79653b8343101def9ba99ba2cb57 (patch)
tree28071c070491cb6cf519fc3609591d92da19aa5f /drivers/gpu/drm/i915/display/hsw_ips.c
parent7249dfcb6fc0950eb1d7e0bfb8b642cf40f089e7 (diff)
downloadlinux-d51309b4e9aa79653b8343101def9ba99ba2cb57.tar.gz
linux-d51309b4e9aa79653b8343101def9ba99ba2cb57.tar.bz2
linux-d51309b4e9aa79653b8343101def9ba99ba2cb57.zip
drm/i915: move and group cdclk under display.cdclk
Move display cdclk related members under drm_i915_private display sub-struct. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/7df23655be5dc70fb1a2b43ce41e1682e40395d8.1661779055.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/hsw_ips.c')
-rw-r--r--drivers/gpu/drm/i915/display/hsw_ips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/hsw_ips.c b/drivers/gpu/drm/i915/display/hsw_ips.c
index 861dcd2eb890..a5be4af792cb 100644
--- a/drivers/gpu/drm/i915/display/hsw_ips.c
+++ b/drivers/gpu/drm/i915/display/hsw_ips.c
@@ -202,7 +202,7 @@ bool hsw_crtc_state_ips_capable(const struct intel_crtc_state *crtc_state)
* Should measure whether using a lower cdclk w/o IPS
*/
if (IS_BROADWELL(i915) &&
- crtc_state->pixel_rate > i915->max_cdclk_freq * 95 / 100)
+ crtc_state->pixel_rate > i915->display.cdclk.max_cdclk_freq * 95 / 100)
return false;
return true;