[PATCH v2 2/2] drm/v3d: client ranges from axi_ids are different with V3D 7.1

2025-04-25 Thread Jose Maria Casanova Crespo
D 7.x") Signed-off-by: Jose Maria Casanova Crespo --- drivers/gpu/drm/v3d/v3d_irq.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) Changes in v2: - Use imperative in commit log. (MaĆ­ra Canal) - Fixed Typos in commit log. diff --git a/drivers/gpu/drm/v3d/v

[PATCH v2 1/2] drm/v3d: fix client obtained from axi_ids on V3D 4.1

2025-04-25 Thread Jose Maria Casanova Crespo
hexadecimal as used in the ranges. Fixes: 38c2c7917adc ("drm/v3d: Fix and extend MMU error handling.") Signed-off-by: Jose Maria Casanova Crespo --- drivers/gpu/drm/v3d/v3d_irq.c | 37 +++ 1 file changed, 24 insertions(+), 13 deletions(-) Changes in v2: - Now

[PATCH 2/2] drm/v3d: client ranges from axi_ids are different with V3D 7.1

2025-04-09 Thread Jose Maria Casanova Crespo
The client mask has been reduced from 8 bits on V3D 4.1 to 7 bits on V3d 7.1, so the ranges for each client are not compatible. A new CSD client can now report MMU errors on 7.1 Signed-off-by: Jose Maria Casanova Crespo --- drivers/gpu/drm/v3d/v3d_irq.c | 21 - 1 file

[PATCH 1/2] drm/v3d: fix client obtained from axi_ids on V3D 4.1

2025-04-09 Thread Jose Maria Casanova Crespo
patch masks the proper bits to do the calculation and limits the returned clients to the expected axi_id ranges that V3D 4.1 and 4.2 use. Fixes: 38c2c7917adc ("drm/v3d: Fix and extend MMU error handling.") Signed-off-by: Jose Maria Casanova Crespo --- drivers/gpu/drm/v3d/v3d_

[PATCH v2] drm/v3d: New debugfs end-points to query GPU usage stats.

2023-02-28 Thread Jose Maria Casanova Crespo
: Jose Maria Casanova Crespo --- drivers/gpu/drm/v3d/v3d_debugfs.c | 91 +++ drivers/gpu/drm/v3d/v3d_drv.h | 60 drivers/gpu/drm/v3d/v3d_gem.c | 1 + drivers/gpu/drm/v3d/v3d_irq.c | 5 + drivers/gpu/drm/v3d/v3d_sched.c | 146

[PATCH] drm/v3d: New debugfs end-points to query GPU usage stats.

2023-02-10 Thread Jose Maria Casanova Crespo
different timestamps. The storage of gpu_pid_usage stats is only done if the debugfs interface is polled during the last 70 seconds. If a process does not submit a GPU job during last 70 seconds its stats will also be purged. Signed-off-by: Jose Maria Casanova Crespo --- drivers/gpu/drm/v3d

[PATCH] drm/prime: fix comment on PRIME Helpers

2021-07-23 Thread Jose Maria Casanova Crespo
s/Exporting/Importing Fixes: 805dc614d58a8 ("drm/prime: Update docs") Cc: Daniel Vetter Signed-off-by: Jose Maria Casanova Crespo --- drivers/gpu/drm/drm_prime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_pri