Skip to content

Commit f5c2f9a

Browse files
committed
drm/i915: Another legacy path to be nuked
Signed-off-by: Dave Stevenson <[email protected]>
1 parent 619e59c commit f5c2f9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/i915/display/intel_display.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7636,6 +7636,7 @@ int intel_atomic_commit(struct drm_device *dev, struct drm_atomic_state *_state,
76367636
* FIXME: Cut over to (async) commit helpers instead of hand-rolling
76377637
* everything.
76387638
*/
7639+
#if defined(CONFIG_VGA_CONSOLE)
76397640
if (state->base.legacy_cursor_update) {
76407641
struct intel_crtc_state *new_crtc_state;
76417642
struct intel_crtc *crtc;
@@ -7644,7 +7645,7 @@ int intel_atomic_commit(struct drm_device *dev, struct drm_atomic_state *_state,
76447645
for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state, i)
76457646
complete_all(&new_crtc_state->uapi.commit->flip_done);
76467647
}
7647-
7648+
#endif
76487649
ret = intel_atomic_prepare_commit(state);
76497650
if (ret) {
76507651
drm_dbg_atomic(display->drm,

0 commit comments

Comments
 (0)