projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afed48a
)
drm/amd/display: enable option to disable HDR related updates.
author
Tony Cheng
<tony.cheng@amd.com>
Fri, 23 Dec 2016 16:08:43 +0000
(11:08 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:07:58 +0000
(17:07 -0400)
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>
drivers/gpu/drm/amd/display/dc/core/dc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/display/dc/core/dc.c
b/drivers/gpu/drm/amd/display/dc/core/dc.c
index
12620df
..
69819d8
100644
(file)
--- a/
drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/
drivers/gpu/drm/amd/display/dc/core/dc.c
@@
-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);