aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/module.rs
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2025-03-06 16:34:15 +0000
committerVille Syrjälä <[email protected]>2025-03-07 17:02:49 +0000
commite45b8192c7e757d33dd1a7f1b1ea6696fbdc218b (patch)
tree666e47efa99eccebbf9a2e702036262d979253c8 /rust/macros/module.rs
parentdrm/i915: Skip some bw_state readout on pre-icl (diff)
downloadkernel-e45b8192c7e757d33dd1a7f1b1ea6696fbdc218b.tar.gz
kernel-e45b8192c7e757d33dd1a7f1b1ea6696fbdc218b.zip
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 <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'rust/macros/module.rs')
0 files changed, 0 insertions, 0 deletions