aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-03-16 10:37:32 +0100
committerAlex Deucher <alexander.deucher@amd.com>2023-03-31 11:18:42 -0400
commit11b6005865e47c4cba862678936628175acfa16e (patch)
treea5ae69024e4dad9d67d68f62d241e5477695ca14 /drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
parentdrm/radeon: Remove struct radeon_fbdev (diff)
downloadwireguard-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