mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/amd/display: enable option to disable HDR related updates.
Signed-off-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
afed48a00c
commit
649aa6f4fc
1 changed files with 3 additions and 0 deletions
|
@ -1526,6 +1526,9 @@ void dc_update_surfaces_for_target(struct dc *dc, struct dc_surface_update *upda
|
|||
}
|
||||
}
|
||||
|
||||
if (dc->debug.disable_color_module)
|
||||
continue; /* skip below color updates */
|
||||
|
||||
if (updates[i].hdr_static_metadata) {
|
||||
resource_build_info_frame(pipe_ctx);
|
||||
core_dc->hwss.update_info_frame(pipe_ctx);
|
||||
|
|
Loading…
Add table
Reference in a new issue