]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe: Drop undesired prefix from the platform name
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 21 May 2024 14:22:56 +0000 (16:22 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 29 May 2024 17:09:01 +0000 (10:09 -0700)
commit37ea1aee18e7418ad5a3aa5f14c87c8e0736fad1
treeb0350f04e2b519411743071caf27e836bfbc3f59
parent7e4333567db8f7d82929cb95458ceb6eb43bb4e4
drm/xe: Drop undesired prefix from the platform name

We don't have to use exact names of the enumerators as the
potentially user-facing platform names. When constructing
platform descriptor fields, use the unique platform tag and
add the XE_ prefix only to the generated enum field.

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-3-michal.wajdeczko@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_pci.c