public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukas Zapolskas <lukas.zapolskas@arm.com>
To: "Adrián Larumbe" <adrian.larumbe@collabora.com>
Cc: Boris Brezillon <boris.brezillon@collabora.com>,
	Steven Price <steven.price@arm.com>,
	Liviu Dudau <liviu.dudau@arm.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	Mihail Atanassov <mihail.atanassov@arm.com>,
	nd@arm.com
Subject: Re: [RFC v2 8/8] drm/panthor: Expose the panthor perf ioctls
Date: Thu, 27 Mar 2025 08:58:53 +0000	[thread overview]
Message-ID: <33a9bb1c-136f-40cc-adfb-9f94365158ed@arm.com> (raw)
In-Reply-To: <ym5gk6uhwteiv3p4kvjjvpujval3rfjsv2lnzzgmq3cvnmfv5o@qbwtvgnqyyui>



On 27/01/2025 20:14, Adrián Larumbe wrote:
> I don't know what the usual practice is when adding a new DRM driver ioctl(), but wouldn't it make
> more sense to add the PERF_CONTROL one to the panthor_drm_driver_ioctls array in this patch instead?
>

That does make more sense, I'll shuffle the patches around.


> Other than that:
> 
> Reviewed-by: Adrián Larumbe <adrian.larumbe@collabora.com>
> 
> On 11.12.2024 16:50, Lukas Zapolskas wrote:
>> Signed-off-by: Lukas Zapolskas <lukas.zapolskas@arm.com>
>> ---
>>   drivers/gpu/drm/panthor/panthor_drv.c | 4 +++-
>>   1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/panthor/panthor_drv.c b/drivers/gpu/drm/panthor/panthor_drv.c
>> index 2848ab442d10..ef081a383fa9 100644
>> --- a/drivers/gpu/drm/panthor/panthor_drv.c
>> +++ b/drivers/gpu/drm/panthor/panthor_drv.c
>> @@ -1654,6 +1654,8 @@ static void panthor_debugfs_init(struct drm_minor *minor)
>>    * - 1.1 - adds DEV_QUERY_TIMESTAMP_INFO query
>>    * - 1.2 - adds DEV_QUERY_GROUP_PRIORITIES_INFO query
>>    *       - adds PANTHOR_GROUP_PRIORITY_REALTIME priority
>> + * - 1.3 - adds DEV_QUERY_PERF_INFO query
>> + *         adds PERF_CONTROL ioctl
>>    */
>>   static const struct drm_driver panthor_drm_driver = {
>>   	.driver_features = DRIVER_RENDER | DRIVER_GEM | DRIVER_SYNCOBJ |
>> @@ -1667,7 +1669,7 @@ static const struct drm_driver panthor_drm_driver = {
>>   	.name = "panthor",
>>   	.desc = "Panthor DRM driver",
>>   	.major = 1,
>> -	.minor = 2,
>> +	.minor = 3,
>>   
>>   	.gem_create_object = panthor_gem_create_object,
>>   	.gem_prime_import_sg_table = drm_gem_shmem_prime_import_sg_table,
>> -- 
>> 2.25.1
> 
> 
> Adrian Larumbe

Thank you very much for taking a look! I'm working on addressing
the comments you left and hoping to get a v3 up soon.

Kind regards,
Lukas Zapolskas


      reply	other threads:[~2025-03-27  8:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-11 16:50 [RFC v2 0/8] drm/panthor: Add performance counters with manual sampling mode Lukas Zapolskas
2024-12-11 16:50 ` [RFC v2 1/8] drm/panthor: Add performance counter uAPI Lukas Zapolskas
2025-01-27  9:47   ` Adrián Larumbe
2025-03-26 14:24     ` Lukas Zapolskas
2024-12-11 16:50 ` [RFC v2 2/8] drm/panthor: Add DEV_QUERY.PERF_INFO handling for Gx10 Lukas Zapolskas
2025-01-27  9:56   ` Adrián Larumbe
2025-01-27 22:17   ` Adrián Larumbe
2024-12-11 16:50 ` [RFC v2 3/8] drm/panthor: Add panthor_perf_init and panthor_perf_unplug Lukas Zapolskas
2025-01-27 12:46   ` Adrián Larumbe
2025-03-26 14:36     ` Lukas Zapolskas
2025-01-27 15:50   ` adrian.larumbe
2024-12-11 16:50 ` [RFC v2 4/8] drm/panthor: Add panthor perf ioctls Lukas Zapolskas
2025-01-27 14:06   ` Adrián Larumbe
2025-03-26 14:40     ` Lukas Zapolskas
2024-12-11 16:50 ` [RFC v2 5/8] drm/panthor: Introduce sampling sessions to handle userspace clients Lukas Zapolskas
2025-01-27 15:43   ` Adrián Larumbe
2025-03-26 15:14     ` Lukas Zapolskas
2025-01-27 21:39   ` Adrián Larumbe
2024-12-11 16:50 ` [RFC v2 6/8] drm/panthor: Implement the counter sampler and sample handling Lukas Zapolskas
2025-01-27 16:53   ` Adrián Larumbe
2025-03-27  8:53     ` Lukas Zapolskas
2025-01-27 21:09   ` Adrián Larumbe
2024-12-11 16:50 ` [RFC v2 7/8] drm/panthor: Add suspend/resume handling for the performance counters Lukas Zapolskas
2025-01-27 20:06   ` Adrián Larumbe
2025-03-27  8:57     ` Lukas Zapolskas
2024-12-11 16:50 ` [RFC v2 8/8] drm/panthor: Expose the panthor perf ioctls Lukas Zapolskas
2025-01-27 20:14   ` Adrián Larumbe
2025-03-27  8:58     ` Lukas Zapolskas [this message]

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=33a9bb1c-136f-40cc-adfb-9f94365158ed@arm.com \
    --to=lukas.zapolskas@arm.com \
    --cc=adrian.larumbe@collabora.com \
    --cc=airlied@gmail.com \
    --cc=boris.brezillon@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liviu.dudau@arm.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mihail.atanassov@arm.com \
    --cc=mripard@kernel.org \
    --cc=nd@arm.com \
    --cc=simona@ffwll.ch \
    --cc=steven.price@arm.com \
    --cc=tzimmermann@suse.de \
    /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