]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe: Enable PCI device earlier
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 14 Jun 2023 20:52:02 +0000 (13:52 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:35:07 +0000 (11:35 -0500)
commitc0ab10ee2ee6a2c423f95154e0842a1b19a4c13b
tree4244403ee5a0d64456a32c9157a42f8f8b79d673
parent98b6d092341128f753cff64b1bceda69c718b6af
drm/xe: Enable PCI device earlier

Newer Intel platforms require that inspect the contents of the GMD_ID
registers very early in the driver initialization process to determine
the IP version (and proper init sequences), of the platform.  Move the
general PCI device setup and enablement slightly earlier, before we
start trying to peek at the GMD_ID registers.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20230614205202.3376752-5-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pci.c