diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-03-16 12:37:32 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-31 18:18:42 +0300 |
commit | 11b6005865e47c4cba862678936628175acfa16e (patch) | |
tree | a5ae69024e4dad9d67d68f62d241e5477695ca14 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | c4aab3499be2abd8671e5f3f70a9d38acd8e4ce4 (diff) | |
download | linux-11b6005865e47c4cba862678936628175acfa16e.tar.xz |
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 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions