We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 949b452 commit 954529aCopy full SHA for 954529a
drivers/gpu/drm/apple/apple_drv.c
@@ -109,13 +109,12 @@ static void apple_crtc_atomic_enable(struct drm_crtc *crtc,
109
if (crtc_state->active_changed && crtc_state->active) {
110
struct apple_crtc *apple_crtc = to_apple_crtc(crtc);
111
dcp_poweron(apple_crtc->dcp);
112
- }
113
-
114
- if (crtc_state->active) {
115
/* Force the CTM to be set on first swap */
116
crtc_state->color_mgmt_changed = true;
117
- dcp_crtc_atomic_modeset(crtc, state);
118
}
+
+ if (crtc_state->active)
+ dcp_crtc_atomic_modeset(crtc, state);
119
120
121
static void apple_crtc_atomic_disable(struct drm_crtc *crtc,
0 commit comments