|
@@ -534,9 +534,12 @@ static void ade_crtc_atomic_begin(struct drm_crtc *crtc,
|
|
|
{
|
|
|
struct ade_crtc *acrtc = to_ade_crtc(crtc);
|
|
|
struct ade_hw_ctx *ctx = acrtc->ctx;
|
|
|
+ struct drm_display_mode *mode = &crtc->state->mode;
|
|
|
+ struct drm_display_mode *adj_mode = &crtc->state->adjusted_mode;
|
|
|
|
|
|
if (!ctx->power_on)
|
|
|
(void)ade_power_up(ctx);
|
|
|
+ ade_ldi_set_mode(acrtc, mode, adj_mode);
|
|
|
}
|
|
|
|
|
|
static void ade_crtc_atomic_flush(struct drm_crtc *crtc,
|