]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Store platform name in xe_device.info
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 21 May 2024 14:22:55 +0000 (16:22 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 28 May 2024 14:08:23 +0000 (16:08 +0200)
commit6ca728975654a7247b2e4aa2e9eb61043c833570
tree8c2ee3a9fbd03be64d851fdf2fbdd723e32eb16b
parent82e0b1299a3ef81a672398c547d8e7f553be793e
drm/xe: Store platform name in xe_device.info

We already maintain the platform name as part of the device
descriptor, but in xe_device.info we only store platform enum,
which is not the best for use in any user-facing messages.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240521142257.756-2-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_pci.c