Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: Re-validate streams on commit_streams

To prevent invalid HW programming, streams should be revalidated first
before committing to HW.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Dillon Varone and committed by
Alex Deucher
f9dfa31f 04d6273f

+5
+5
drivers/gpu/drm/amd/display/dc/core/dc.c
··· 2153 2153 struct dc_stream_state *stream = params->streams[i]; 2154 2154 struct dc_stream_status *status = dc_stream_get_status(stream); 2155 2155 2156 + /* revalidate streams */ 2157 + res = dc_validate_stream(dc, stream); 2158 + if (res != DC_OK) 2159 + return res; 2160 + 2156 2161 dc_stream_log(dc, stream); 2157 2162 2158 2163 set[i].stream = stream;