diff options
| author | Imre Deak <[email protected]> | 2025-01-08 15:19:16 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2025-01-22 17:18:24 +0000 |
| commit | b9360d1751ec9397ab9e4fdea24a749d8fc19c91 (patch) | |
| tree | 026773738b9674af9c46ff86d06f398d47d8728a /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
| parent | drm/i915/dp_mst: Simplify getting a drm_device pointer needed by to_i915() (diff) | |
| download | kernel-b9360d1751ec9397ab9e4fdea24a749d8fc19c91.tar.gz kernel-b9360d1751ec9397ab9e4fdea24a749d8fc19c91.zip | |
drm/i915/dp_mst: Use intel_display::platform.alderlake_p instead of IS_ALDERLAKE_P()
Use the driver's standard intel_display::platform.alderlake_p instead of
IS_ALDERLAKE_P().
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c index afc843fd5393..fbfc756368b8 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c @@ -1219,11 +1219,10 @@ static void mst_stream_pre_enable(struct intel_atomic_state *state, static void enable_bs_jitter_was(const struct intel_crtc_state *crtc_state) { struct intel_display *display = to_intel_display(crtc_state); - struct drm_i915_private *i915 = to_i915(crtc_state->uapi.crtc->dev); u32 clear = 0; u32 set = 0; - if (!IS_ALDERLAKE_P(i915)) + if (!display->platform.alderlake_p) return; if (!IS_DISPLAY_STEP(display, STEP_D0, STEP_FOREVER)) |
