diff options
author | 2023-03-16 10:37:30 +0100 | |
---|---|---|
committer | 2023-03-31 11:18:42 -0400 | |
commit | 276f7b4bd52425cd0ae38fd7bf870d94abac6b82 (patch) | |
tree | d0611b1f1aaaa04b8af006d4c855f485251afb12 /drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | |
parent | drm/radeon: Move radeon_align_pitch() next to dumb-buffer helpers (diff) | |
download | wireguard-linux-276f7b4bd52425cd0ae38fd7bf870d94abac6b82.tar.xz wireguard-linux-276f7b4bd52425cd0ae38fd7bf870d94abac6b82.zip |
drm/radeon: Improve fbdev object-test helper
Look up the framebuffer GEM object in fbdev object test with the
respective helper drm_gem_fb_get_obj(). The look-up helper warns if
no GEM object has been installed. Upcasting types prevents runtime
type checking, so avoid upcast to struct radeon_bo.
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