hdmitx: fix the non_hdr effect in UI

PD#156644: hdmitx: fix the non_hdr effect in UI

Change-Id: I9b31757838a422bdf2e8c67bb838bb1bbc8dc497
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
This commit is contained in:
Yi Zhou
2017-12-22 17:13:24 +08:00
committed by Jianxin Pan
parent 759513b6ba
commit df9c37611c

View File

@@ -1023,6 +1023,8 @@ static void hdmitx_set_drm_pkt(struct master_display_info_s *data)
DRM_DB[24] = GET_LOW8BIT(data->max_frame_average);
DRM_DB[25] = GET_HIGH8BIT(data->max_frame_average);
/*eliminate the work of work_hdr*/
cancel_work(&hdev->work_hdr);
/* bt2020 + gamma transfer */
if (hdev->hdr_transfer_feature == T_BT709 &&
hdev->hdr_color_feature == C_BT2020) {