Commit 1e510d40 authored by Tian Tao's avatar Tian Tao Committed by Yang Yingliang
Browse files

drm/hisilicon: Features to support reading resolutions from EDID

mainline inclusion
from mainline-v5.14.0-rc7
commit a0d078d0
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I469VQ


CVE: NA

Refactoring hibmc_vdac_init, hibmc_connector_init method.

---------------------------------------

Use drm_get_edid to get the resolution, if that fails, set it to
a fixed resolution. Rewrite the desrtoy callback function to release
resources.

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1600778670-60370-3-git-send-email-tiantao6@hisilicon.com



Signed-off-by: default avatargouhao <gouhao@uniontech.com>
Reviewed-by: default avatartian tao <tiantao6@hisilicon.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 61c106b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment