From nobody Tue Apr 7 06:21:18 2026 Received: from out198-29.us.a.mail.aliyun.com (out198-29.us.a.mail.aliyun.com [47.90.198.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C355268690 for ; Mon, 16 Mar 2026 03:47:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=47.90.198.29 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773632873; cv=none; b=EFQHCmQrRCjwXU2CCCUCZX7ttg7d49+Odsi9DG9Ac0k90XDCI4djCMhQb05gRbJIDVlgEkq4vc3eGi0PvZXFPtwJZzC9USf++UL6Vae8O3Itm5sDXrzLqmAKYuDzAZlxr8PPKdgXmM9f2TXiQw6yve4E64jIu4+OFeU6i4GNnJE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773632873; c=relaxed/simple; bh=Ai+7H3+vD6vtSz9JJkEoHvvfXHoahWAthv/9WEh6V0E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ITPe85mmcreDav5c9d69gYk30R4tXAWHmSmkwG3ELIAwwXQvPDsHfAEbIQ63IzgXsPWkSneSs31Idd51kC5Kn4dEtNUa+4EazZ8j5iVWeLZAUhfdPBOmwYkz6oggFyrsJdPSfV+VaV0QSAepSUbpmmOnSVIXReZgUuTTrYnm43U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com; spf=pass smtp.mailfrom=antgroup.com; dkim=pass (1024-bit key) header.d=antgroup.com header.i=@antgroup.com header.b=akM1Likr; arc=none smtp.client-ip=47.90.198.29 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=antgroup.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=antgroup.com header.i=@antgroup.com header.b="akM1Likr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1773632854; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=c9/X8odBS2n9mVEmqOXdQw5uNgbPFfBggNNq8a/rnIo=; b=akM1Likrv31rVlE4zVyzj5kUlr5hMh5EYEt6QvOj4x7h+wHWOxbQdmZeCTMqeYNnIzSFnlNzJ4X+NJgelTnYs+A0zD1GqSJNv1YVhdXO6grLQoBJ39EwDuJ1QXDc7LtRsqBN99B4JA3LLrd5mMhbCnPj06J9yPzohSHE5VaSA9A= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R991e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037031241;MF=houwenlong.hwl@antgroup.com;NM=1;PH=DS;RN=47;SR=0;TI=SMTPD_---.gt2oRKf_1773632851; Received: from localhost(mailfrom:houwenlong.hwl@antgroup.com fp:SMTPD_---.gt2oRKf_1773632851 cluster:ay29) by smtp.aliyun-inc.com; Mon, 16 Mar 2026 11:47:32 +0800 From: Hou Wenlong To: linux-kernel@vger.kernel.org Cc: Hou Wenlong , Alex Deucher , Alex Hung , Alvin Lee , amd-gfx@lists.freedesktop.org, Ankit Nautiyal , Aurabindo Pillai , Ausef Yousof , Bhuvanachandra Pinninti , Chaitanya Kumar Borah , Charlene Liu , Chenyu Chen , Chris Park , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Dillon Varone , Dmytro Laktyushkin , dri-devel@lists.freedesktop.org, Gustavo Sousa , Harold Sun , Harry Wentland , intel-gfx@lists.freedesktop.org, Jani Nikula , Joonas Lahtinen , Jun Lei , Karthi Kandasamy , Leo Chen , Leo Li , Lohita Mudimela , Lucas De Marchi , Meenakshikumar Somasundaram , Nicholas Carbones , Ray Wu , Relja Vojvodic , Rodrigo Siqueira , Rodrigo Vivi , Ryan Seto , Samson Tam , Simona Vetter , =?UTF-8?q?Timur=20Krist=C3=B3f?= , Tvrtko Ursulin , Wayne Lin , Wenjing Liu , Yan Li , Zhenyu Wang , Zhi Wang Subject: [PATCH 1/2] drm/i915/gvt: Rename struct 'pixel_format' to 'gvt_pixel_format' Date: Mon, 16 Mar 2026 11:46:28 +0800 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Rename the local struct 'pixel_format' to 'gvt_pixel_format' to avoid potential name conflicts with the 'pixel_format' struct defined in include/video/pixel_format.h. Signed-off-by: Hou Wenlong Reviewed-by: Jani Nikula --- drivers/gpu/drm/i915/gvt/fb_decoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/gvt/fb_decoder.c b/drivers/gpu/drm/i915/g= vt/fb_decoder.c index d7abf38df532..25fffc77f138 100644 --- a/drivers/gpu/drm/i915/gvt/fb_decoder.c +++ b/drivers/gpu/drm/i915/gvt/fb_decoder.c @@ -48,13 +48,13 @@ #include "i915_reg.h" =20 #define PRIMARY_FORMAT_NUM 16 -struct pixel_format { +struct gvt_pixel_format { int drm_format; /* Pixel format in DRM definition */ int bpp; /* Bits per pixel, 0 indicates invalid */ const char *desc; /* The description */ }; =20 -static const struct pixel_format bdw_pixel_formats[] =3D { +static const struct gvt_pixel_format bdw_pixel_formats[] =3D { {DRM_FORMAT_C8, 8, "8-bit Indexed"}, {DRM_FORMAT_RGB565, 16, "16-bit BGRX (5:6:5 MSB-R:G:B)"}, {DRM_FORMAT_XRGB8888, 32, "32-bit BGRX (8:8:8:8 MSB-X:R:G:B)"}, @@ -67,7 +67,7 @@ static const struct pixel_format bdw_pixel_formats[] =3D { {} }; =20 -static const struct pixel_format skl_pixel_formats[] =3D { +static const struct gvt_pixel_format skl_pixel_formats[] =3D { {DRM_FORMAT_YUYV, 16, "16-bit packed YUYV (8:8:8:8 MSB-V:Y2:U:Y1)"}, {DRM_FORMAT_UYVY, 16, "16-bit packed UYVY (8:8:8:8 MSB-Y2:V:Y1:U)"}, {DRM_FORMAT_YVYU, 16, "16-bit packed YVYU (8:8:8:8 MSB-U:Y2:V:Y1)"}, --=20 2.31.1