mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
drm/vmwgfx: Remove vmw_chipset
vmw_chipset was duplicating pci_id. They are exactly the same variable just with two different names. Becuase pci_id was already used to detect the SVGA version, there's no point in having vmw_chipset and thus we can remove it. All references to vmw_chipset should use pci_id. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Martin Krastev <krastevm@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210609172307.131929-9-zackr@vmware.com
This commit is contained in:
@@ -487,8 +487,7 @@ struct vmw_private {
|
||||
struct ttm_device bdev;
|
||||
|
||||
struct drm_vma_offset_manager vma_manager;
|
||||
unsigned long pci_id;
|
||||
u32 vmw_chipset;
|
||||
u32 pci_id;
|
||||
resource_size_t io_start;
|
||||
resource_size_t vram_start;
|
||||
resource_size_t vram_size;
|
||||
|
||||
Reference in New Issue
Block a user