Commit a771c1f2 authored by Krunoslav Kovac's avatar Krunoslav Kovac Committed by Alex Deucher

drm/amd/display: Force full update on pixel_format_change

Signed-off-by: default avatarKrunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 352ab654
...@@ -1105,6 +1105,7 @@ static enum surface_update_type get_plane_info_update_type(const struct dc_surfa ...@@ -1105,6 +1105,7 @@ static enum surface_update_type get_plane_info_update_type(const struct dc_surfa
if (update_flags->bits.rotation_change if (update_flags->bits.rotation_change
|| update_flags->bits.stereo_format_change || update_flags->bits.stereo_format_change
|| update_flags->bits.pixel_format_change
|| update_flags->bits.gamma_change || update_flags->bits.gamma_change
|| update_flags->bits.bpp_change || update_flags->bits.bpp_change
|| update_flags->bits.bandwidth_change || update_flags->bits.bandwidth_change
......
...@@ -213,6 +213,7 @@ struct dc_debug { ...@@ -213,6 +213,7 @@ struct dc_debug {
bool vsr_support; bool vsr_support;
bool performance_trace; bool performance_trace;
bool az_endpoint_mute_only; bool az_endpoint_mute_only;
bool always_use_regamma;
}; };
struct dc_state; struct dc_state;
struct resource_pool; struct resource_pool;
...@@ -495,7 +496,6 @@ struct dc_surface_update { ...@@ -495,7 +496,6 @@ struct dc_surface_update {
/* following updates require alloc/sleep/spin that is not isr safe, /* following updates require alloc/sleep/spin that is not isr safe,
* null means no updates * null means no updates
*/ */
/* gamma TO BE REMOVED */
struct dc_gamma *gamma; struct dc_gamma *gamma;
enum color_transfer_func color_input_tf; enum color_transfer_func color_input_tf;
struct dc_transfer_func *in_transfer_func; struct dc_transfer_func *in_transfer_func;
......
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