linux/drivers/gpu/drm/amd
Alexey Kodanev f8e12e770e drm/amd/display: drop unnecessary NULL checks in debugfs
pipe_ctx pointer cannot be NULL when getting the address of
an element of the pipe_ctx array. Moreover, the MAX_PIPES is
defined as 6, so pipe_ctx is not NULL after the loop either.

Detected using the static analysis tool - Svace.

Signed-off-by: Alexey Kodanev <aleksei.kodanev@bell-sw.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-01-05 11:42:21 -05:00
..
acp
amdgpu drm/amdgpu: allow query error counters for specific IP block 2023-01-05 11:42:14 -05:00
amdkfd drm/amdkfd: simplify cases 2023-01-05 11:41:57 -05:00
display drm/amd/display: drop unnecessary NULL checks in debugfs 2023-01-05 11:42:21 -05:00
include drm/amdgpu: Add df v4_3 headers 2022-12-15 12:19:22 -05:00
pm drm/amdgpu: use VRAM|GTT for a bunch of kernel allocations 2023-01-03 16:49:54 -05:00