mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
drm/i915: Remove pointless crtc hw.enable check
We don't need to check for crtc hw.enable because that would also imply that the plane is disabled and we would have bailed out already earlier. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20251009211313.30234-7-ville.syrjala@linux.intel.com Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
This commit is contained in:
parent
13a3118b26
commit
50e6b6ad48
|
|
@ -1756,8 +1756,7 @@ static int skl_plane_check_fb(const struct intel_crtc_state *crtc_state,
|
|||
}
|
||||
|
||||
/* Y-tiling is not supported in IF-ID Interlace mode */
|
||||
if (crtc_state->hw.enable &&
|
||||
crtc_state->hw.adjusted_mode.flags & DRM_MODE_FLAG_INTERLACE &&
|
||||
if (crtc_state->hw.adjusted_mode.flags & DRM_MODE_FLAG_INTERLACE &&
|
||||
fb->modifier != DRM_FORMAT_MOD_LINEAR &&
|
||||
fb->modifier != I915_FORMAT_MOD_X_TILED) {
|
||||
drm_dbg_kms(display->drm,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user