diff options
author | Alvin Lee <Alvin.Lee2@amd.com> | 2022-10-06 17:26:49 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-10-24 14:44:03 -0400 |
commit | abe4d9f03fae76c9650b0d942faf6990b35c377b (patch) | |
tree | a4c1a0dea1ced99fff8fb7a74c09bbf152288543 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | ca08a1725d0d78efca8d2dbdbce5ea70355da0f2 (diff) | |
download | linux-abe4d9f03fae76c9650b0d942faf6990b35c377b.tar.gz linux-abe4d9f03fae76c9650b0d942faf6990b35c377b.tar.bz2 linux-abe4d9f03fae76c9650b0d942faf6990b35c377b.zip |
drm/amd/display: Don't return false if no stream
pipe_ctx[i] exists even if the pipe is not
in use. If the pipe is not in use it will
always have a null stream, so don't return
false in this case.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions