diff options
author | 2023-03-16 10:37:32 +0100 | |
---|---|---|
committer | 2023-03-31 11:18:42 -0400 | |
commit | 11b6005865e47c4cba862678936628175acfa16e (patch) | |
tree | a5ae69024e4dad9d67d68f62d241e5477695ca14 /drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | |
parent | drm/radeon: Remove struct radeon_fbdev (diff) | |
download | wireguard-linux-11b6005865e47c4cba862678936628175acfa16e.tar.xz wireguard-linux-11b6005865e47c4cba862678936628175acfa16e.zip |
drm/radeon: Remove test for !screen_base in fbdev probing
The screen_base field comes from the fbdev BO and contains the fbdev
framebuffer base address. We get the BO memory via radeon_bo_kmap(),
which already reports the error -ENOMEM if the buffer could not be
mapped. So remove the later test for screen_base, which will never
be NULL at this point.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c')
0 files changed, 0 insertions, 0 deletions