drm/radeon: Store PCI controller in struct radeon_device.hose

Moves struct drm_device.hose into struct radeon_device. The field in
struct DRM device is only for legacy drivers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210112081035.6882-6-tzimmermann@suse.de
This commit is contained in:
Thomas Zimmermann
2021-01-12 09:10:34 +01:00
parent 02e415f879
commit 5c1736cff1
4 changed files with 8 additions and 5 deletions

View File

@@ -2313,6 +2313,9 @@ struct radeon_device {
struct device *dev;
struct drm_device *ddev;
struct pci_dev *pdev;
#ifdef __alpha__
struct pci_controller *hose;
#endif
struct rw_semaphore exclusive_lock;
/* ASIC */
union radeon_asic_config config;