mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 23:53:45 +07:00
drm/amd/display: Dynamic HDR metadata mem buffer
Basic framework: - caps for reporting dynamic HDR metadata support - allocation of frame buffer memory and storage Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@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
3c8e4316a0
commit
4ea209073d
@ -68,6 +68,7 @@ struct dc_caps {
|
|||||||
uint32_t max_planes;
|
uint32_t max_planes;
|
||||||
uint32_t max_downscale_ratio;
|
uint32_t max_downscale_ratio;
|
||||||
uint32_t i2c_speed_in_khz;
|
uint32_t i2c_speed_in_khz;
|
||||||
|
uint32_t dmdata_alloc_size;
|
||||||
unsigned int max_cursor_size;
|
unsigned int max_cursor_size;
|
||||||
unsigned int max_video_width;
|
unsigned int max_video_width;
|
||||||
int linear_pitch_alignment;
|
int linear_pitch_alignment;
|
||||||
|
@ -59,6 +59,8 @@ struct dc_stream_state {
|
|||||||
struct freesync_context freesync_ctx;
|
struct freesync_context freesync_ctx;
|
||||||
|
|
||||||
struct dc_info_packet hdr_static_metadata;
|
struct dc_info_packet hdr_static_metadata;
|
||||||
|
PHYSICAL_ADDRESS_LOC dmdata_address;
|
||||||
|
|
||||||
struct dc_transfer_func *out_transfer_func;
|
struct dc_transfer_func *out_transfer_func;
|
||||||
struct colorspace_transform gamut_remap_matrix;
|
struct colorspace_transform gamut_remap_matrix;
|
||||||
struct dc_csc_transform csc_color_matrix;
|
struct dc_csc_transform csc_color_matrix;
|
||||||
|
Loading…
Reference in New Issue
Block a user