You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
drm/rockchip: dw-dp: limit color depth 8bit for hdr
In some case, the color depth will be 8bit when output hdr content. So it need limit coor depth as 8bit for hdr. Change-Id: I7415230d4e0c4c08097ea5912aff791875db6176 Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
This commit is contained in:
@@ -4675,7 +4675,7 @@ static u32 *dw_dp_bridge_atomic_get_output_bus_fmts(struct drm_bridge *bridge,
|
||||
continue;
|
||||
}
|
||||
|
||||
if (dw_dp_is_hdr_eotf(dp->eotf_type) && fmt->bpc < 10)
|
||||
if (dw_dp_is_hdr_eotf(dp->eotf_type) && fmt->bpc < 8)
|
||||
continue;
|
||||
|
||||
output_fmts[j++] = fmt->bus_format;
|
||||
|
||||
Reference in New Issue
Block a user