diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-03-06 19:34:15 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-03-07 20:02:49 +0300 |
commit | e45b8192c7e757d33dd1a7f1b1ea6696fbdc218b (patch) | |
tree | 666e47efa99eccebbf9a2e702036262d979253c8 /rust/helpers/helpers.c | |
parent | ff79a131d37a9ab6301c310f8ea9c12e93212baa (diff) | |
download | linux-e45b8192c7e757d33dd1a7f1b1ea6696fbdc218b.tar.xz |
sem/i915: Simplify intel_cdclk_update_hw_state()
intel_crtc_calculate_min_cdclk() can't return an error
(since commit 5ac860cc5254 ("drm/i915: Fix DBUF bandwidth vs.
cdclk handling")) so there is no point in checking for one.
Also we can just call it unconditionally since it itself
checks crtc_state->hw.enabled. We are currently checking
crtc_state->hw.active in the readout path, but active==enabled
during readout, and arguably enabled is the more correct thing
to check anyway.
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306163420.3961-14-ville.syrjala@linux.intel.com
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions