Commit 4fb6ec46 authored by Ilya Bakoulin's avatar Ilya Bakoulin Committed by Alex Deucher

drm/amd/display: Expose enc2_set_dynamic_metadata

[Why]
Need to implement register programming for HDR dynamic
metadata transmission and tests.
Signed-off-by: default avatarIlya Bakoulin <Ilya.Bakoulin@amd.com>
Reviewed-by: default avatarEric Bernstein <Eric.Bernstein@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6d58f994
...@@ -373,7 +373,7 @@ static void enc2_read_state(struct stream_encoder *enc, struct enc_state *s) ...@@ -373,7 +373,7 @@ static void enc2_read_state(struct stream_encoder *enc, struct enc_state *s)
* *
* Ensure the OTG master update lock is set when changing DME configuration. * Ensure the OTG master update lock is set when changing DME configuration.
*/ */
static void enc2_set_dynamic_metadata(struct stream_encoder *enc, void enc2_set_dynamic_metadata(struct stream_encoder *enc,
bool enable_dme, bool enable_dme,
uint32_t hubp_requestor_id, uint32_t hubp_requestor_id,
enum dynamic_metadata_mode dmdata_mode) enum dynamic_metadata_mode dmdata_mode)
......
...@@ -104,4 +104,9 @@ void enc2_stream_encoder_dp_unblank( ...@@ -104,4 +104,9 @@ void enc2_stream_encoder_dp_unblank(
struct stream_encoder *enc, struct stream_encoder *enc,
const struct encoder_unblank_param *param); const struct encoder_unblank_param *param);
void enc2_set_dynamic_metadata(struct stream_encoder *enc,
bool enable_dme,
uint32_t hubp_requestor_id,
enum dynamic_metadata_mode dmdata_mode);
#endif /* __DC_STREAM_ENCODER_DCN20_H__ */ #endif /* __DC_STREAM_ENCODER_DCN20_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment