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: Wrong index type for pipe iterator

[Why and How]
Type mismatch in index and pipe count might cause an infinite loop. code
Change should resolve this issue.

Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Saaem Rizvi <syedsaaem.rizvi@amd.com>
Reviewed-by: Josip Pavic <Josip.Pavic@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Saaem Rizvi and committed by
Alex Deucher
490ddccb 0baae624

+2 -2
+1 -1
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c
··· 392 392 393 393 void dcn314_resync_fifo_dccg_dio(struct dce_hwseq *hws, struct dc *dc, struct dc_state *context) 394 394 { 395 - uint8_t i; 395 + unsigned int i; 396 396 struct pipe_ctx *pipe = NULL; 397 397 bool otg_disabled[MAX_PIPES] = {false}; 398 398
+1 -1
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c
··· 1201 1201 1202 1202 void dcn32_resync_fifo_dccg_dio(struct dce_hwseq *hws, struct dc *dc, struct dc_state *context) 1203 1203 { 1204 - uint8_t i; 1204 + unsigned int i; 1205 1205 struct pipe_ctx *pipe = NULL; 1206 1206 bool otg_disabled[MAX_PIPES] = {false}; 1207 1207