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:
Zack Rusin
2021-06-09 13:23:06 -04:00
parent b7d0949f6c
commit baee602e5c
2 changed files with 3 additions and 5 deletions

View File

@@ -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;