intel/devinfo: initialize pci_device_id with from_pci_id()
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Suggested-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21949>
This commit is contained in:
committed by
Marge Bot
parent
19c9391a2c
commit
25cb4805f5
@@ -1306,6 +1306,8 @@ intel_get_device_info_from_pci_id(int pci_id,
|
||||
strncpy(devinfo->name, "Intel Unknown", sizeof(devinfo->name));
|
||||
}
|
||||
|
||||
devinfo->pci_device_id = pci_id;
|
||||
|
||||
fill_masks(devinfo);
|
||||
|
||||
/* From the Skylake PRM, 3DSTATE_PS::Scratch Space Base Pointer:
|
||||
|
||||
Reference in New Issue
Block a user