[PATCH] drm/xe/xe2_lpm: Rename media descriptor to media_xe2_lpm

Lucas De Marchi lucas.demarchi at intel.com
Tue Feb 27 15:10:17 UTC 2024


On Tue, Feb 27, 2024 at 08:02:09PM +0530, Balasubramani Vivekanandan wrote:
>Media descriptor renamed to avoid conflict with future platforms.
>
>Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan at intel.com>
>---
> drivers/gpu/drm/xe/xe_pci.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
>index 5b5c29761c5d..f2d11543424c 100644
>--- a/drivers/gpu/drm/xe/xe_pci.c
>+++ b/drivers/gpu/drm/xe/xe_pci.c
>@@ -206,7 +206,7 @@ static const struct xe_media_desc media_xelpmp = {
> 		BIT(XE_HW_ENGINE_VECS0) | BIT(XE_HW_ENGINE_GSCCS0)
> };
>
>-static const struct xe_media_desc media_xe2 = {
>+static const struct xe_media_desc media_xe2_lpm = {
> 	.name = "Xe2_LPM",
> 	.hw_engine_mask =
> 		BIT(XE_HW_ENGINE_VCS0) | BIT(XE_HW_ENGINE_VECS0), /* TODO: GSC0 */
>@@ -349,7 +349,7 @@ static const struct gmdid_map graphics_ip_map[] = {
> /* Map of GMD_ID values to media IP */
> static const struct gmdid_map media_ip_map[] = {
> 	{ 1300, &media_xelpmp },
>-	{ 2000, &media_xe2 },
>+	{ 2000, &media_xe2_lpm },

why is it media_xelpmp but then media_xe2_lpm with the extra underscore?

Lucas De Marchi

> };
>
> #define INTEL_VGA_DEVICE(id, info) {			\
>-- 
>2.25.1
>


More information about the Intel-xe mailing list