drm/xe: Stash GMD_ID value in xe_gt
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 23 Jan 2024 20:44:49 +0000 (12:44 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Wed, 24 Jan 2024 19:08:18 +0000 (11:08 -0800)
commitfacd388708f06ab0c5cf492323c130e924c87aed
tree9238a46b869710bbfd8270e05f3ed3cbf5de6878
parent83ef64ebde37db364bffa19801486c957daffab0
drm/xe: Stash GMD_ID value in xe_gt

Although we've stored the major and minor versions for graphics/media in
xe_device, it will be simpler to implement the uapi version query if we
also stash the raw register value in the GT itself.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240123204454.246788-4-jose.souza@intel.com
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_gt_types.h