public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/perf: document field usage of drm_i915_perf_oa_config
Date: Mon, 18 Sep 2017 12:36:04 +0100	[thread overview]
Message-ID: <d05e109d-eec4-bc76-bfcd-ee3a30d55dc3@intel.com> (raw)
In-Reply-To: <150573405039.566.8766858172672795955@mail.alporthouse.com>

On 18/09/17 12:27, Chris Wilson wrote:
> Quoting Lionel Landwerlin (2017-09-18 12:10:38)
>> Document the expected length register config pointers (tuple of u32
>> values).
>>
>> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
>> ---
>>   drivers/gpu/drm/i915/i915_perf.c | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
>> index 3d34c6a4313d..4409cea57607 100644
>> --- a/drivers/gpu/drm/i915/i915_perf.c
>> +++ b/drivers/gpu/drm/i915/i915_perf.c
>> @@ -3200,6 +3200,11 @@ static int create_dynamic_oa_sysfs_entry(struct drm_i915_private *dev_priv,
>>    * Validates the submitted OA register to be saved into a new OA config that
>>    * can then be used for programming the OA unit and its NOA network.
>>    *
>> + * drm_i915_perf_oa_config has 3 pointers fields (mux_regs_ptr,
> s/pointers/pointer/
>
>> + * boolean_regs_ptr, flex_regs_ptr) to buffers of tuples (register address,
>> + * value) of u32 values. The number of tuples is given respectively by
>> + * n_mux_regs, n_boolean_regs and n_flex_regs fields.
> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
>
> But I would suggest this would better for describing the uabi in
> i915_drm.h.

I was wondering about put it in i915_drm.h, I think it's better.
Let's me just send another patch for the uapi instead.

Thanks!

> -Chris
>

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2017-09-18 11:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-18 11:10 [PATCH] drm/i915/perf: document field usage of drm_i915_perf_oa_config Lionel Landwerlin
2017-09-18 11:27 ` Chris Wilson
2017-09-18 11:36   ` Lionel Landwerlin [this message]
2017-09-18 12:46 ` ✗ Fi.CI.BAT: failure for " 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=d05e109d-eec4-bc76-bfcd-ee3a30d55dc3@intel.com \
    --to=lionel.g.landwerlin@intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@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