[Intel-xe] [PATCH] fixup! drm/xe/pmu: Drop interrupt pmu event
Riana Tauro
riana.tauro at intel.com
Mon Nov 27 05:07:54 UTC 2023
On 11/24/2023 11:28 AM, Aravind Iddamsetty wrote:
> Fix the sample type calculation for engine group events in
> engine_group_busyness_read
>
> Cc: Riana Tauro <riana.tauro at intel.com>
> Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty at linux.intel.com>
Looks good to me
Reviewed-by: Riana Tauro <riana.tauro at intel.com>
> ---
> drivers/gpu/drm/xe/xe_pmu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_pmu.c b/drivers/gpu/drm/xe/xe_pmu.c
> index b573d26f87ad..4fb77c7693c2 100644
> --- a/drivers/gpu/drm/xe/xe_pmu.c
> +++ b/drivers/gpu/drm/xe/xe_pmu.c
> @@ -61,7 +61,7 @@ static u64 __engine_group_busyness_read(struct xe_gt *gt, int sample_type)
>
> static u64 engine_group_busyness_read(struct xe_gt *gt, u64 config)
> {
> - int sample_type = config_counter(config) - 1;
> + int sample_type = config_counter(config);
> const unsigned int gt_id = gt->info.id;
> struct xe_device *xe = gt->tile->xe;
> struct xe_pmu *pmu = &xe->pmu;
More information about the Intel-xe
mailing list