mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
drm/rockchip: logo: attach crtc to drm state
In order to get the hdisplay of the display mode, attaching the crtc to drm state. Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com> Change-Id: I85909a414767b0bdd078edfa0a17df97b7612538
This commit is contained in:
@@ -709,6 +709,7 @@ static int setup_initial_state(struct drm_device *drm_dev,
|
|||||||
goto error_conn;
|
goto error_conn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
crtc->state->state = state;
|
||||||
drm_mode_copy(&crtc_state->adjusted_mode, mode);
|
drm_mode_copy(&crtc_state->adjusted_mode, mode);
|
||||||
if (!match || !is_crtc_enabled) {
|
if (!match || !is_crtc_enabled) {
|
||||||
set->mode_changed = true;
|
set->mode_changed = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user