Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Karthik B S <karthik.b.s@intel.com>
To: Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
	<igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [i-g-t 3/7] lib: Use i915 namespace for XE debugfs
Date: Mon, 17 Apr 2023 10:37:21 +0530	[thread overview]
Message-ID: <0635610d-2d46-59ea-612e-9e7d28786cd0@intel.com> (raw)
In-Reply-To: <20230413162732.1155058-4-bhanuprakash.modem@intel.com>


On 4/13/2023 9:57 PM, Bhanuprakash Modem wrote:
> As of now XE is going to use i915 namesapce for their debugfs.
> Example: i915_current_bpc is applicable for both i915 & XE
>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
> ---
>   lib/igt_kms.c | 2 +-
>   lib/igt_psr.c | 4 ++--
>   2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> index 50655f136b8..720e68ca7c9 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -5706,7 +5706,7 @@ unsigned int igt_get_pipe_current_bpc(int drmfd, enum pipe pipe)
>   	fd = igt_debugfs_pipe_dir(drmfd, pipe, O_RDONLY);
>   	igt_assert(fd >= 0);
>   
> -	if (is_i915_device(drmfd))
> +	if (is_intel_device(drmfd))
>   		strcpy(debugfs_name, "i915_current_bpc");
>   	else if (is_amdgpu_device(drmfd))
>   		strcpy(debugfs_name, "amdgpu_current_bpc");
> diff --git a/lib/igt_psr.c b/lib/igt_psr.c
> index a2d88031268..13f7c567dc9 100644
> --- a/lib/igt_psr.c
> +++ b/lib/igt_psr.c
> @@ -277,7 +277,7 @@ bool i915_psr2_selective_fetch_check(int drm_fd)
>   	int debugfs_fd;
>   	bool ret;
>   
> -	if (!is_i915_device(drm_fd))
> +	if (!is_intel_device(drm_fd))
>   		return false;
>   
>   	debugfs_fd = igt_debugfs_dir(drm_fd);
> @@ -303,7 +303,7 @@ bool i915_psr2_sel_fetch_to_psr1(int drm_fd)
>   	int debugfs_fd;
>   	bool ret = false;
>   
> -	if (!is_i915_device(drm_fd))
> +	if (!is_intel_device(drm_fd))
>   		return ret;
>   
>   	debugfs_fd = igt_debugfs_dir(drm_fd);

  reply	other threads:[~2023-04-17  5:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13 16:27 [igt-dev] [i-g-t 0/7] Enable KMS tests in XE BAT Bhanuprakash Modem
2023-04-13 16:27 ` [igt-dev] [i-g-t 1/7] lib/intel_bufops: Fix bops creation to support XE Bhanuprakash Modem
2023-04-17 10:57   ` Zbigniew Kempczyński
2023-04-13 16:27 ` [igt-dev] [i-g-t 2/7] lib/igt_fb: Add copy engine support for XE Bhanuprakash Modem
2023-04-13 16:27 ` [igt-dev] [i-g-t 3/7] lib: Use i915 namespace for XE debugfs Bhanuprakash Modem
2023-04-17  5:07   ` Karthik B S [this message]
2023-04-17  7:05   ` [igt-dev] [i-g-t V2 " Bhanuprakash Modem
2023-04-17 10:59   ` [igt-dev] [i-g-t " Zbigniew Kempczyński
2023-04-13 16:27 ` [igt-dev] [i-g-t 4/7] tests/kms_cursor_legacy: Add XE support Bhanuprakash Modem
2023-04-17  5:03   ` Karthik B S
2023-04-13 16:27 ` [igt-dev] [i-g-t 5/7] tests/kms_flip: " Bhanuprakash Modem
2023-04-18  9:34   ` Karthik B S
2023-04-13 16:27 ` [igt-dev] [i-g-t 6/7] tests/i915/kms_psr: " Bhanuprakash Modem
2023-04-13 16:27 ` [igt-dev] [i-g-t 7/7] xe-fast-feedback: Add kms tests to XE BAT Bhanuprakash Modem
2023-04-18  9:38   ` Karthik B S
2023-04-13 17:39 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in " Patchwork
2023-04-13 22:11 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-04-17 11:01 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev2) Patchwork
2023-04-17 16:43 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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=0635610d-2d46-59ea-612e-9e7d28786cd0@intel.com \
    --to=karthik.b.s@intel.com \
    --cc=bhanuprakash.modem@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