Message ID | 20240216065326.6910-3-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-68116-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp338083dyb; Thu, 15 Feb 2024 22:54:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUyubMpQ8XiZoGbX9ee9fagiMGeSIe2/hdkaUsI9UhCyt9et+R8Wyq7NJFlAhTxqRuwWzpEoqBfrTcRZuRIws4gfcb5VQ== X-Google-Smtp-Source: AGHT+IGCqT4Bg8p56T80Y1RgaLcbIqPvA810VmymIe/CnxOTM9bhHtsVSWrYUGxVzS4S3U5F3biZ X-Received: by 2002:a05:6870:9727:b0:21e:470c:82ce with SMTP id n39-20020a056870972700b0021e470c82cemr2795530oaq.16.1708066452644; Thu, 15 Feb 2024 22:54:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708066452; cv=pass; d=google.com; s=arc-20160816; b=rXJfou5/HEHkLRSy+h93H3M3nCjnHJ8dkFFQUsEERv1XHnE+WlXGdpS+aAQdQDAI8r OzopKRKmjRQmvKUWmm7dgyC0bSoPd50ICGR78nTT7XNTkYsoCcZigXy35gSODw3MKZ8K LY0cN4gwA2ZZr/xaZARoxz2SRZZo8a4Q6JpZGN+ivGYtaFyq4QlJ+BB+4BS86dPKFZsr 5wZleboz0+sDPuLysT58EHdIP7uSDfqwUXDz8lbcbzrRLayhyn3mrHT8yJdsLexSjaWm bEKLqvLY4XeRItmdrVG6As9f4YoXmAmxZUQb0air8us2pwFsR1CLUIpuXR3zE7f6XGpN sqsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=l0HtJ0K4LyzmsRR4gT68hqTQ6dcnw8kQ/jmHpMN949E=; fh=7ii8bnn+ZTeQOxdHt+mw4UkYyxgNVZW5u4vTB84Vals=; b=l8hKzxoAzn+aSJgv5wg3teZoL9Ekg+AECMOuwvGUDyg3m0DRoXOHD7ZllMjCI7/Uz4 nXEd29p5RgGcXdI+86nOPE69X5DvBzYSX2pZe58Z4/ppwh//KunbMcCk5QmXfFMWMvi0 nW2GUkQ0RoI1B7MaUj9vTiJVGxAPH4wZq4DpkhWmMtYJRVd5FvClcjsKODloJymdbQAp a2d4LSwtVS7F2ghWGQZT9Y5YK8GyCUFkcsU8FdGETRYAu4C/soIIQon4p56iOx7EzGgX jNzNIXeam0DtWSpCP6K8CAfTpJODXgOuRgyDlWp9L2P+QmoVIdFT4VamZFQj+oC6Iz4B cAvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Y0o9/HY5"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68116-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68116-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l193-20020a6391ca000000b005dc48e561adsi2399646pge.20.2024.02.15.22.54.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 22:54:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68116-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Y0o9/HY5"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68116-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68116-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 97FD9B23D01 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 06:54:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D248182BF; Fri, 16 Feb 2024 06:53:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Y0o9/HY5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C60D117BC9 for <linux-kernel@vger.kernel.org>; Fri, 16 Feb 2024 06:53:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066418; cv=none; b=BrM9RxG0FgHgTvjjfBlq+sG6Udd2f5pC6uToTMjmwGDLDVtaWO78Us5k8xGJy2+yzs5BbYBLitGDJ6cI8qLRhHBgOm7aZ0+LbQv8pqJphUryUu9+r76zH3Im0vhCK30D9IS8apRX9s7TGerTEK+bMzZgV4fMgss+u7/Nc6XmhLE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708066418; c=relaxed/simple; bh=pXw6+3BPDvBumd0PwA+aAJatufGvT44a+p6B8ZAqPXg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mEj8vzMgik6A+gOEUsoUq7mYVLszKy22PPiTCcMY24b8xiAFKjaaJI2HFdZgF1BW1ktjp9HkXOKAya66m8g90eEJVvovQC+3I696f7KwjFHwpDqAF3forUWL35iWcWR21xNzlim8xCNz/yaZJyb7zAQWUTL8ujFotunZawabFlA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y0o9/HY5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07D32C433C7; Fri, 16 Feb 2024 06:53:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708066418; bh=pXw6+3BPDvBumd0PwA+aAJatufGvT44a+p6B8ZAqPXg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y0o9/HY5F2PEyFbtUd5uHnUb/4bjqoiE6DU767MASXwLFxpanMtU0lFrsZqH5Gcd4 bl31pIfTFA1GIkCS+R14e6FV07Q1o+mxoAJks1TRO/5lzULPAcdP2eyTcaj+sM/zdL N4DUmtOI535iN6br5CyWlxIWHauPYOu15R1JkWglfRgQURsD92lxkH0yjA0ukxa40x fjTvpX6mtC2IHEWFnt+Az3SDHBtGC4+q+hidXBhZcrL/ZtRo5+6Nzds08IkoYDmjKr Q/RR2v8rYegAQ8VsJ1k8b0BYpittp5xJW9yvbgiehpOARow5a90hLFVe4r413/KnAM HKTww1cbxWHRw== From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> To: jani.nikula@linux.intel.com Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" <jirislaby@kernel.org>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>, intel-gfx@lists.freedesktop.org Subject: [PATCH 02/21] drm/i915: remove structs intel_vgpu_pipe_format and intel_vgpu_fb_format Date: Fri, 16 Feb 2024 07:53:07 +0100 Message-ID: <20240216065326.6910-3-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240216065326.6910-1-jirislaby@kernel.org> References: <20240216065326.6910-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791037488550606113 X-GMAIL-MSGID: 1791037488550606113 |
Series |
drm/i915: remove unused structure members
|
|
Commit Message
Jiri Slaby
Feb. 16, 2024, 6:53 a.m. UTC
Both struct intel_vgpu_pipe_format and intel_vgpu_fb_format were never
used since its addition in commit 9f31d1063b43 (drm/i915/gvt: Add
framebuffer decoder support). Drop them.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
---
drivers/gpu/drm/i915/gvt/fb_decoder.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/drivers/gpu/drm/i915/gvt/fb_decoder.h b/drivers/gpu/drm/i915/gvt/fb_decoder.h index 4eff44194439..fa6503900c84 100644 --- a/drivers/gpu/drm/i915/gvt/fb_decoder.h +++ b/drivers/gpu/drm/i915/gvt/fb_decoder.h @@ -152,17 +152,6 @@ struct intel_vgpu_cursor_plane_format { u32 y_hot; /* in pixels */ }; -struct intel_vgpu_pipe_format { - struct intel_vgpu_primary_plane_format primary; - struct intel_vgpu_sprite_plane_format sprite; - struct intel_vgpu_cursor_plane_format cursor; - enum DDI_PORT ddi_port; /* the DDI port that pipe is connected to */ -}; - -struct intel_vgpu_fb_format { - struct intel_vgpu_pipe_format pipes[I915_MAX_PIPES]; -}; - int intel_vgpu_decode_primary_plane(struct intel_vgpu *vgpu, struct intel_vgpu_primary_plane_format *plane); int intel_vgpu_decode_cursor_plane(struct intel_vgpu *vgpu,