drm/amd/display: Add use_dynamic_meta flag to stream_state
Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Reviewed-by: Anthony Koo <Anthony.Koo@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
973d42c79e
commit
a10dc97ab8
@ -2506,7 +2506,8 @@ static void set_hdr_static_info_packet(
|
||||
{
|
||||
/* HDR Static Metadata info packet for HDR10 */
|
||||
|
||||
if (!stream->hdr_static_metadata.valid)
|
||||
if (!stream->hdr_static_metadata.valid ||
|
||||
stream->use_dynamic_meta)
|
||||
return;
|
||||
|
||||
*info_packet = stream->hdr_static_metadata;
|
||||
|
@ -60,6 +60,7 @@ struct dc_stream_state {
|
||||
|
||||
struct dc_info_packet hdr_static_metadata;
|
||||
PHYSICAL_ADDRESS_LOC dmdata_address;
|
||||
bool use_dynamic_meta;
|
||||
|
||||
struct dc_transfer_func *out_transfer_func;
|
||||
struct colorspace_transform gamut_remap_matrix;
|
||||
|
Loading…
Reference in New Issue
Block a user