Skip to content

Commit 0db3079

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

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
@@ -7645,6 +7645,7 @@ int intel_atomic_commit(struct drm_device *dev, struct drm_atomic_state *_state,
76457645
* FIXME: Cut over to (async) commit helpers instead of hand-rolling
76467646
* everything.
76477647
*/
7648+
#if defined(CONFIG_VGA_CONSOLE)
76487649
if (state->base.legacy_cursor_update) {
76497650
struct intel_crtc_state *new_crtc_state;
76507651
struct intel_crtc *crtc;
@@ -7653,7 +7654,7 @@ int intel_atomic_commit(struct drm_device *dev, struct drm_atomic_state *_state,
76537654
for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state, i)
76547655
complete_all(&new_crtc_state->uapi.commit->flip_done);
76557656
}
7656-
7657+
#endif
76577658
ret = intel_atomic_prepare_commit(state);
76587659
if (ret) {
76597660
drm_dbg_atomic(display->drm,

0 commit comments

Comments
 (0)