drm/bridge: synopsys: dw-hdmi: Get edid yuv422 info independently
Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: Ibd340a273a16a5faa7ac1b548c81cc89914f442f
This commit is contained in:
@@ -42,6 +42,8 @@
|
|||||||
#include "dw-hdmi-hdcp.h"
|
#include "dw-hdmi-hdcp.h"
|
||||||
#include "dw-hdmi.h"
|
#include "dw-hdmi.h"
|
||||||
|
|
||||||
|
#include "../../rockchip/rockchip_drm_drv.h"
|
||||||
|
|
||||||
#define DDC_CI_ADDR 0x37
|
#define DDC_CI_ADDR 0x37
|
||||||
#define DDC_SEGMENT_ADDR 0x30
|
#define DDC_SEGMENT_ADDR 0x30
|
||||||
|
|
||||||
@@ -2902,6 +2904,7 @@ static int dw_hdmi_connector_get_modes(struct drm_connector *connector)
|
|||||||
drm_connector_update_edid_property(connector, edid);
|
drm_connector_update_edid_property(connector, edid);
|
||||||
cec_notifier_set_phys_addr_from_edid(hdmi->cec_notifier, edid);
|
cec_notifier_set_phys_addr_from_edid(hdmi->cec_notifier, edid);
|
||||||
ret = drm_add_edid_modes(connector, edid);
|
ret = drm_add_edid_modes(connector, edid);
|
||||||
|
rockchip_drm_get_yuv422_format(connector, edid);
|
||||||
dw_hdmi_update_hdr_property(connector);
|
dw_hdmi_update_hdr_property(connector);
|
||||||
kfree(edid);
|
kfree(edid);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user