From: "Manszewski, Christoph" <christoph.manszewski@intel.com>
To: Dominik Grzegorzek <dominik.grzegorzek@intel.com>,
igt-dev@lists.freedesktop.org
Cc: andrzej.hajda@intel.com
Subject: Re: [PATCH i-g-t 4/4] lib/xe_query: Fix switch indentation
Date: Thu, 12 Dec 2024 17:40:47 +0100 [thread overview]
Message-ID: <47a20cd2-f0d2-4dcf-ab03-f03f16aa9849@intel.com> (raw)
In-Reply-To: <20241211114044.210562-4-dominik.grzegorzek@intel.com>
Hi Dominik,
On 11.12.2024 12:40, Dominik Grzegorzek wrote:
> Correct switch indentation so it follows kernel guidelines.
>
> Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
Acked-by: Christoph Manszewski <christoph.manszewski@intel.com>
Thanks,
Christoph
> ---
> lib/xe/xe_query.c | 26 +++++++++++++-------------
> 1 file changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/lib/xe/xe_query.c b/lib/xe/xe_query.c
> index 6a7b08006..b9e6cf045 100644
> --- a/lib/xe/xe_query.c
> +++ b/lib/xe/xe_query.c
> @@ -225,19 +225,19 @@ static uint32_t __mem_default_alignment(struct drm_xe_query_mem_regions *mem_reg
> const char *xe_engine_class_string(uint32_t engine_class)
> {
> switch (engine_class) {
> - case DRM_XE_ENGINE_CLASS_RENDER:
> - return "DRM_XE_ENGINE_CLASS_RENDER";
> - case DRM_XE_ENGINE_CLASS_COPY:
> - return "DRM_XE_ENGINE_CLASS_COPY";
> - case DRM_XE_ENGINE_CLASS_VIDEO_DECODE:
> - return "DRM_XE_ENGINE_CLASS_VIDEO_DECODE";
> - case DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE:
> - return "DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE";
> - case DRM_XE_ENGINE_CLASS_COMPUTE:
> - return "DRM_XE_ENGINE_CLASS_COMPUTE";
> - default:
> - igt_warn("Engine class 0x%x unknown\n", engine_class);
> - return "unknown engine class";
> + case DRM_XE_ENGINE_CLASS_RENDER:
> + return "DRM_XE_ENGINE_CLASS_RENDER";
> + case DRM_XE_ENGINE_CLASS_COPY:
> + return "DRM_XE_ENGINE_CLASS_COPY";
> + case DRM_XE_ENGINE_CLASS_VIDEO_DECODE:
> + return "DRM_XE_ENGINE_CLASS_VIDEO_DECODE";
> + case DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE:
> + return "DRM_XE_ENGINE_CLASS_VIDEO_ENHANCE";
> + case DRM_XE_ENGINE_CLASS_COMPUTE:
> + return "DRM_XE_ENGINE_CLASS_COMPUTE";
> + default:
> + igt_warn("Engine class 0x%x unknown\n", engine_class);
> + return "unknown engine class";
> }
> }
>
next prev parent reply other threads:[~2024-12-12 16:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-11 11:40 [PATCH i-g-t 1/4] lib/xe_eudebug: Use igt_container_of instead of (void *) casting Dominik Grzegorzek
2024-12-11 11:40 ` [PATCH i-g-t 2/4] lib: Export xe_engine_class_to_str function Dominik Grzegorzek
2024-12-12 16:36 ` Manszewski, Christoph
2024-12-11 11:40 ` [PATCH i-g-t 3/4] lib/xe_eudebug: Use xe_engine_class_short_string Dominik Grzegorzek
2024-12-12 16:38 ` Manszewski, Christoph
2024-12-11 11:40 ` [PATCH i-g-t 4/4] lib/xe_query: Fix switch indentation Dominik Grzegorzek
2024-12-12 16:40 ` Manszewski, Christoph [this message]
2024-12-11 14:16 ` ✗ i915.CI.BAT: failure for series starting with [i-g-t,1/4] lib/xe_eudebug: Use igt_container_of instead of (void *) casting Patchwork
2024-12-11 14:21 ` ✓ Xe.CI.BAT: success " Patchwork
2024-12-11 16:11 ` ✗ Xe.CI.Full: failure " Patchwork
2024-12-12 16:30 ` [PATCH i-g-t 1/4] " Manszewski, Christoph
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47a20cd2-f0d2-4dcf-ab03-f03f16aa9849@intel.com \
--to=christoph.manszewski@intel.com \
--cc=andrzej.hajda@intel.com \
--cc=dominik.grzegorzek@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox