diff options
author | Zack Rusin <zackr@vmware.com> | 2021-06-09 19:23:06 +0200 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2021-06-12 06:01:04 +0200 |
commit | baee602e5c0d00a7233fdb2b2bfd3ace4b5b8f29 (patch) | |
tree | ce58fd8f40e223d10b89545673dd8fa37eb86573 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | |
parent | drm/vmwgfx: Refactor vmw_mksstat_remove_ioctl to expect pgid match with vmw_m... (diff) | |
download | linux-baee602e5c0d00a7233fdb2b2bfd3ace4b5b8f29.tar.xz linux-baee602e5c0d00a7233fdb2b2bfd3ace4b5b8f29.zip |
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
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h index 3875cfbf1791..9422967659d7 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h @@ -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; |