mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
drm/rockchip: Set picture aspect to none when show kernel logo
Crtc mode will include picture aspect and generate umode's flags will include picture aspect mask when show kernel logo. After hwc start, DRM_CLIENT_CAP_ASPECT_RATIO will be set to 0, and the umode hwc got will not include picture aspect. That will cause two modes mismatch, leading to a resolution reconfiguration and cause display err. Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: I4e3ad1263d9d462567d14ae4c77d7b1aa05ddb1c
This commit is contained in:
@@ -713,6 +713,7 @@ static int setup_initial_state(struct drm_device *drm_dev,
|
||||
if (ret)
|
||||
goto error_conn;
|
||||
|
||||
mode->picture_aspect_ratio = HDMI_PICTURE_ASPECT_NONE;
|
||||
ret = drm_atomic_set_mode_for_crtc(crtc_state, mode);
|
||||
if (ret)
|
||||
goto error_conn;
|
||||
|
||||
Reference in New Issue
Block a user