aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c
diff options
context:
space:
mode:
authorEric Bernstein <[email protected]>2018-07-30 17:43:23 -0400
committerAlex Deucher <[email protected]>2022-07-05 16:16:43 -0400
commitc1127df9515ca781940927deffc5ae657ed73a5f (patch)
treec5f49c697dcab6459505a2a1eaaf09de987b9aea /drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c
parent8bc3812d0b33c214c365fff5dfb65397ad6aaf19 (diff)
drm/amd/display: Fix null timing generator resource
[Why] For some customer blending transition cases, the available pipe for second stream is a pipe index that is greater than the number of timing generators, which can cause a problem in acquire_first_free_pipe since it assumes same index for pipe and timing generator [How] Added logic to use last timing generator index if the pipe index is greater than number of timing generators. Acked-by: Alan Liu <[email protected]> Signed-off-by: Eric Bernstein <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c')
0 files changed, 0 insertions, 0 deletions