All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com>,
	"Govindapillai, Vinod" <vinod.govindapillai@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH v4 1/2] drm/i915/display: debugfs entry to list display capabilities
Date: Wed, 25 Oct 2023 15:08:02 +0300	[thread overview]
Message-ID: <87lebq9a71.fsf@intel.com> (raw)
In-Reply-To: <SJ1PR11MB6129C9C7F943148519AD4FF9B9D4A@SJ1PR11MB6129.namprd11.prod.outlook.com>

On Thu, 19 Oct 2023, "Borah, Chaitanya Kumar" <chaitanya.kumar.borah@intel.com> wrote:
>> -----Original Message-----
>> From: Govindapillai, Vinod <vinod.govindapillai@intel.com>
>> Sent: Wednesday, October 18, 2023 3:57 PM
>> To: intel-gfx@lists.freedesktop.org
>> Cc: Govindapillai, Vinod <vinod.govindapillai@intel.com>; Sharma, Swati2
>> <swati2.sharma@intel.com>; Borah, Chaitanya Kumar
>> <chaitanya.kumar.borah@intel.com>
>> Subject: [PATCH v4 1/2] drm/i915/display: debugfs entry to list display
>> capabilities
>> 
>> Create a separate debugfs entry to list the display capabilities IGT can rely on
>> this debugfs entry for tests that depend on display device and display runtime
>> info for both xe and i915 drivers.
>> 
>> v2: rename the entry to i915_display_capabilities (Chaitanya)
>> 
>> Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
>
> Assuming that it has no other impact in user-space. The change looks LGTM.
>
> Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>

Thanks for the patches and review, pushed the first patch.

Please get the igt change merged before pushing the second patch.

BR,
Jani.


>
>> ---
>>  drivers/gpu/drm/i915/display/intel_display_debugfs.c | 12 ++++++++++++
>>  1 file changed, 12 insertions(+)
>> 
>> diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
>> b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
>> index fbe75d47a165..b0248dfa8dea 100644
>> --- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
>> +++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
>> @@ -641,6 +641,17 @@ static int i915_display_info(struct seq_file *m, void
>> *unused)
>>  	return 0;
>>  }
>> 
>> +static int i915_display_capabilities(struct seq_file *m, void *unused)
>> +{
>> +	struct drm_i915_private *i915 = node_to_i915(m->private);
>> +	struct drm_printer p = drm_seq_file_printer(m);
>> +
>> +	intel_display_device_info_print(DISPLAY_INFO(i915),
>> +					DISPLAY_RUNTIME_INFO(i915), &p);
>> +
>> +	return 0;
>> +}
>> +
>>  static int i915_shared_dplls_info(struct seq_file *m, void *unused)  {
>>  	struct drm_i915_private *dev_priv = node_to_i915(m->private); @@
>> -1059,6 +1070,7 @@ static const struct drm_info_list
>> intel_display_debugfs_list[] = {
>>  	{"i915_gem_framebuffer", i915_gem_framebuffer_info, 0},
>>  	{"i915_power_domain_info", i915_power_domain_info, 0},
>>  	{"i915_display_info", i915_display_info, 0},
>> +	{"i915_display_capabilities", i915_display_capabilities, 0},
>>  	{"i915_shared_dplls_info", i915_shared_dplls_info, 0},
>>  	{"i915_dp_mst_info", i915_dp_mst_info, 0},
>>  	{"i915_ddb_info", i915_ddb_info, 0},
>> --
>> 2.34.1
>

-- 
Jani Nikula, Intel

  reply	other threads:[~2023-10-25 12:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-18 10:27 [Intel-gfx] [PATCH v4 0/2] display device info as a separate debugfs entry Vinod Govindapillai
2023-10-18 10:27 ` [Intel-gfx] [PATCH v4 1/2] drm/i915/display: debugfs entry to list display capabilities Vinod Govindapillai
2023-10-19  9:30   ` Borah, Chaitanya Kumar
2023-10-25 12:08     ` Jani Nikula [this message]
2023-10-18 10:27 ` [Intel-gfx] [PATCH v4 2/2] drm/i915: remove display device info from i915 capabilities Vinod Govindapillai
2023-10-19  9:32   ` Borah, Chaitanya Kumar
2023-10-26 13:26     ` Jani Nikula
2023-10-18 22:02 ` [Intel-gfx] ✗ Fi.CI.BUILD: warning for display device info as a separate debugfs entry (rev6) Patchwork
2023-10-18 22:02 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-10-18 22:12 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-10-19  1:05 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " 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=87lebq9a71.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=chaitanya.kumar.borah@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=vinod.govindapillai@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.