aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2020-11-04 10:04:21 +0000
committerDaniel Vetter <[email protected]>2020-11-06 09:31:26 +0000
commit57bb1ee6034046be70aed33fd6d447bb2b7261fa (patch)
tree6b81c1b0fbd03cbe1667077bce6502242ade5a09 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/radeon: Stop changing the drm_driver struct (diff)
downloadkernel-57bb1ee6034046be70aed33fd6d447bb2b7261fa.tar.gz
kernel-57bb1ee6034046be70aed33fd6d447bb2b7261fa.zip
drm: Compile out legacy chunks from struct drm_device
This means some very few #ifdef in code, but it allows us to enlist the compiler to make sure this stuff isn't used anymore. More important, only legacy drivers change drm_device (for the legacy_dev_list shadow attach management), therefore this is prep to allow modern drivers to have a const driver struct. Which is nice, because there's a ton of function pointers in there. Acked-by: Maxime Ripard <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Review-by: Thomas Zimmermann <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Maarten Lankhorst <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Thomas Zimmermann <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions