Re: [PATCH 08/12] accel/ivpu: Add NPU profiling support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 10.05.2024 18:46, Jeffrey Hugo wrote:
> On 5/8/2024 7:21 AM, Jacek Lawrynowicz wrote:
>> From: Tomasz Rusinowicz <tomasz.rusinowicz@xxxxxxxxx>
>>
>> Implement time based Metric Streamer profiling UAPI.
>>
>> This is a generic mechanism allowing user mode tools to sample
>> NPU metrics. These metrics are defined by the FW and transparent to
>> the driver.
>>
>> The user space can check for this feature by checking
>> DRM_IVPU_CAP_METRIC_STREAMER driver capability.
>>
>> Signed-off-by: Tomasz Rusinowicz <tomasz.rusinowicz@xxxxxxxxx>
>> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@xxxxxxxxxxxxxxx>
>> ---
>>   drivers/accel/ivpu/Makefile       |   3 +-
>>   drivers/accel/ivpu/ivpu_drv.c     |  14 +-
>>   drivers/accel/ivpu/ivpu_drv.h     |   3 +
>>   drivers/accel/ivpu/ivpu_jsm_msg.c |  98 ++++++++++
>>   drivers/accel/ivpu/ivpu_jsm_msg.h |   8 +-
>>   drivers/accel/ivpu/ivpu_ms.c      | 309 ++++++++++++++++++++++++++++++
>>   drivers/accel/ivpu/ivpu_ms.h      |  36 ++++
>>   drivers/accel/ivpu/ivpu_pm.c      |   4 +
>>   include/uapi/drm/ivpu_accel.h     |  69 ++++++-
>>   9 files changed, 540 insertions(+), 4 deletions(-)
>>   create mode 100644 drivers/accel/ivpu/ivpu_ms.c
>>   create mode 100644 drivers/accel/ivpu/ivpu_ms.h
>>
>> diff --git a/drivers/accel/ivpu/Makefile b/drivers/accel/ivpu/Makefile
>> index 95ff7ad16338..726cf8f28ea3 100644
>> --- a/drivers/accel/ivpu/Makefile
>> +++ b/drivers/accel/ivpu/Makefile
>> @@ -1,5 +1,5 @@
>>   # SPDX-License-Identifier: GPL-2.0-only
>> -# Copyright (C) 2023 Intel Corporation
>> +# Copyright (C) 2022-2024 Intel Corporation
> 
> Are you sure this is correct?  Seems odd to be adding 2022 in addition to 2024 at this point.

This is a typo. I will fix it.



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux