On 15/08/2025 15:10, Steven Price wrote:
> On 15/08/2025 15:01, Karunika Choo wrote:
>> On 15/08/2025 14:42, Steven Price wrote:
>>> The only callers to mmu_hw_do_operation_locked() pass an 'op' of either
>>> AS_COMAND_FLUSH_MEM or AS_COMMAND_FLUSH_PT. This me
On 15/08/2025 14:42, Steven Price wrote:
> The only callers to mmu_hw_do_operation_locked() pass an 'op' of either
> AS_COMAND_FLUSH_MEM or AS_COMMAND_FLUSH_PT. This means the code paths
> after that are dead. Removing those paths means the
> mmu_hw_do_flush_on_gpu_ctrl() function might has well be
FLUSH_CACHES
command and will also use this by default going forward.
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_mmu.c | 33 +++
1 file changed, 33 insertions(+)
diff --git a
This patch adds firmware binary and GPU model naming support for
Mali-Gx20 and Mali-Gx25 GPUs.
Reviewed-by: Steven Price
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 18 ++
2
nce of Ray Intersection
feature support.
This patch adds:
- support for correctly identifying the model names for Mali-Gx15 GPUs.
- arch 11.8 FW binary support
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/pa
Co-developed-by: Dennis Tsiang
Signed-off-by: Dennis Tsiang
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_gpu.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/panthor/panthor_gpu.c
b/drivers/gpu/drm/panthor/panthor_gpu.c
index 5e2c3173ae27
ed GPU features.
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 61
1 file changed, 17 insertions(+), 44 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/d
This patch adds GPU model name and FW binary support for Mali-G710,
Mali-G510, and Mali-G310.
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 6
version guards
if the change is minor. For more complex changes, the function can be
forked and the appropriate function will need to be called based on the
GPU architecture version.
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
com/
Karunika Choo (7):
drm/panthor: Add panthor_hw and move gpu_info initialization into it
drm/panthor: Simplify getting the GPU model name
drm/panthor: Add support for Mali-G710, Mali-G510 and Mali-G310
drm/panthor: Add support for Mali-Gx15 family of GPUs
drm/panthor: Serialize GPU ca
Co-developed-by: Dennis Tsiang
Signed-off-by: Dennis Tsiang
Signed-off-by: Karunika Choo
---
v2:
- Added missing 'Signed-off-by' for Dennis.
- Picked up R-b from Liviu.
- Link to v1:
https://lore.kernel.org/all/20250730174338.1650212-1-karunika.c...@arm.com/
drivers/gpu/d
On 31/07/2025 11:57, Steven Price wrote:
> On 30/07/2025 18:43, Karunika Choo wrote:
>> In certain scenarios, it is possible for multiple cache flushes to be
>> requested before the previous one completes. This patch introduces the
>> cache_flush_lock mutex to serialize these
In certain scenarios, it is possible for multiple cache flushes to be
requested before the previous one completes. This patch introduces the
cache_flush_lock mutex to serialize these operations and ensure that
any requested cache flushes are completed instead of dropped.
Signed-off-by: Karunika
This patch adds firmware binary and GPU model naming support for
Mali-Gx20 and Mali-Gx25 GPUs.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 18 ++
2 files changed, 20 insertions(+)
diff --git a/drivers/gpu
FLUSH_CACHES
command and will also use this by default going forward.
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_mmu.c | 33 +++
1 file changed, 33 insertions(+)
diff --git a
nce of Ray Intersection
feature support.
This patch adds:
- support for correctly identifying the model names for Mali-Gx15 GPUs.
- arch 11.8 FW binary support
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/pa
This patch adds GPU model name and FW binary support for Mali-G710,
Mali-G510, and Mali-G310.
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 6
version guards
if the change is minor. For more complex changes, the function can be
forked and the appropriate function will need to be called based on the
GPU architecture version.
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
ed GPU features.
Reviewed-by: Steven Price
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 61
1 file changed, 17 insertions(+), 44 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/d
ent implementation as much as possible.
- Added support for G710, G715, G720, and G725 series of Mali GPUs.
- Link to v1:
https://lore.kernel.org/all/20241219170521.64879-1-karunika.c...@arm.com/
Karunika Choo (6):
drm/panthor: Add panthor_hw and move gpu_info initialization into it
drm/panthor: Simpl
nce of Ray Intersection
feature support.
This patch adds:
- support for correctly identifying the model names for Mali-Gx15 GPUs.
- arch 11.8 FW binary support
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 1 +
drive
GPU_COHERENCY_PROTOCOL if coherency is enabled.
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_device.c | 3 +--
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_gpu.c| 14 --
drivers/gpu/drm
FLUSH_CACHES
command and will also use this by default going forward.
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_mmu.c | 33 +++
1 file changed, 33 insertions(+)
diff --git a/drivers/gpu/drm/panthor
ed GPU features.
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 61
1 file changed, 17 insertions(+), 44 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/drivers/gpu/drm/p
This patch adds GPU model name and FW binary support for Mali-G710,
Mali-G510, and Mali-G310.
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 6 ++
2 files changed, 8
version guards
if the change is minor. For more complex changes, the function can be
forked and the appropriate function will need to be called based on the
GPU architecture version.
Reviewed-by: Chia-I Wu
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor
ink to v1:
https://lore.kernel.org/all/20241219170521.64879-1-karunika.c...@arm.com/
Karunika Choo (6):
drm/panthor: Add panthor_hw and move gpu_info initialization into it
drm/panthor: Simplify getting the GPU model name
drm/panthor: Add support for Mali-G710, Mali-G510 and Mali-G310
On 24/07/2025 06:40, Chia-I Wu wrote:
> On Mon, Jul 21, 2025 at 3:13 PM Karunika Choo wrote:
>>
>> Mali-Gx15 introduces a new GPU_FEATURES register that provides
>> information about GPU-wide supported features. The register value will
>> be passed on to userspace via g
GPU_COHERENCY_PROTOCOL if coherency is enabled.
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_device.c | 2 +-
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_gpu.c| 14 --
drivers/gpu/drm/panthor/panthor_hw.c
This patch adds GPU model name and FW binary support for Mali-G710,
Mali-G510, and Mali-G310.
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 6 ++
2 files changed, 8 insertions(+)
diff --git a
ed GPU features.
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 61
1 file changed, 17 insertions(+), 44 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/drivers/gpu/drm/panthor/panthor_hw.c
index 3f7175
FLUSH_CACHES
command and will also use this by default going forward.
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_mmu.c | 33 +++
1 file changed, 33 insertions(+)
diff --git a/drivers/gpu/drm/panthor/panthor_mmu.c
b/drivers/gpu
support for G710, G715, G720, and G725 series of Mali GPUs.
- Link to v1:
https://lore.kernel.org/all/20241219170521.64879-1-karunika.c...@arm.com/
Karunika Choo (6):
drm/panthor: Add panthor_hw and move gpu_info initialization into it
drm/panthor: Simplify getting the GPU model name
drm/panthor
version guards
if the change is minor. For more complex changes, the function can be
forked and the appropriate function will need to be called based on the
GPU architecture version.
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/Makefile | 1
nce of Ray Intersection
feature support.
This patch adds:
- support for correctly identifying the model names for Mali-Gx15 GPUs.
- arch 11.8 FW binary support
Reviewed-by: Liviu Dudau
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 1 +
drivers/gpu/drm/panthor/panthor_h
On 11/06/2025 00:45, Chia-I Wu wrote:
> On Mon, Jun 2, 2025 at 7:34 AM Karunika Choo wrote:
>>
>> Mali-Gx20 and Mali-Gx25 deprecates the use of FLUSH_MEM and FLUSH_PT
>> MMU_AS commands in favour of cache maintenance via
>> GPU_COMMAND's FLUSH_CACHES and FLUSH_PA_
On 23/06/2025 11:23, Steven Price wrote:
> On 02/06/2025 15:32, Karunika Choo wrote:
>> As the FLUSH_MEM and FLUSH_PT commands are deprecated in GPUs from
>> Mali-Gx20 onwards, this patch adds support for performing cache
>> maintenance via the FLUSH_CACHES command in GPU
On 11/06/2025 00:42, Chia-I Wu wrote:
> On Mon, Jun 2, 2025 at 7:42 AM Karunika Choo wrote:
>>
>> As the FLUSH_MEM and FLUSH_PT commands are deprecated in GPUs from
>> Mali-Gx20 onwards, this patch adds support for performing cache
>> maintenance via the FLUSH_CACHES
On 11/06/2025 00:32, Chia-I Wu wrote:
> On Mon, Jun 2, 2025 at 8:16 AM Karunika Choo wrote:
>>
>> This patch replaces the panthor_model structure with a simple switch
>> case based on the product_id which is in the format of:
>> ((arch_major << 24) | pro
On 11/06/2025 00:12, Chia-I Wu wrote:
> On Mon, Jun 2, 2025 at 7:33 AM Karunika Choo wrote:
>>
>> This patch provides an initialization framework for multiple Mali GPUs
>> by introducing a GPU support look-up table. Each entry contains, at
>> minimum, the architectu
Us.
- arch 11.8 FW binary support
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 1 +
drivers/gpu/drm/panthor/panthor_hw.c | 15 +++
drivers/gpu/drm/panthor/panthor_regs.h | 11 +++
include/uapi/drm/panthor_drm.h | 3 +++
4 files c
version guards
if the change is minor. For more complex changes, the function can be
forked and the appropriate function will need to be called based on the
GPU architecture version.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/Makefile | 1 +
drivers/gpu/drm/panthor
FLUSH_CACHES
command and will also use this by default going forward.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_mmu.c | 33 +++
1 file changed, 33 insertions(+)
diff --git a/drivers/gpu/drm/panthor/panthor_mmu.c
b/drivers/gpu/drm/panthor/panthor_mmu.c
This patch adds GPU model name and FW binary support for Mali-G710,
Mali-G510, and Mali-G310.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 6 ++
2 files changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/panthor
supported.
This patch also fixes a minor bug that incorrectly writes ACE instead of
ACE_LITE to GPU_COHERENCY_PROTOCOL if coherency is enabled.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_device.c | 2 +-
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor
unnecessary pre-parsing of register fields from v1. Retaining
current implementation as much as possible.
- Added support for G710, G715, G720, and G725 series of Mali GPUs.
- Link to v1:
https://lore.kernel.org/all/20241219170521.64879-1-karunika.c...@arm.com/
Karunika Choo (6):
drm/panthor
ed GPU features.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 61
1 file changed, 17 insertions(+), 44 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/drivers/gpu/drm/panthor/panthor_hw.c
index 3f7175cb0ab4..f39010c0ca86 100644
supported.
This patch also fixes a minor bug that incorrectly writes ACE instead of
ACE_LITE to GPU_COHERENCY_PROTOCOL if coherency is enabled.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_device.c | 2 +-
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor
FLUSH_CACHES
command and will also use this by default going forward.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_mmu.c | 33 +++
1 file changed, 33 insertions(+)
diff --git a/drivers/gpu/drm/panthor/panthor_mmu.c
b/drivers/gpu/drm/panthor/panthor_mmu.c
This patch adds GPU model name and FW binary support for Mali-G710,
Mali-G510, and Mali-G310.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 6 ++
2 files changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/panthor
Us.
- arch 11.8 FW binary support
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 1 +
drivers/gpu/drm/panthor/panthor_hw.c | 15 +++
drivers/gpu/drm/panthor/panthor_regs.h | 11 +++
include/uapi/drm/panthor_drm.h | 3 +++
4 files c
ed GPU features.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 61
1 file changed, 17 insertions(+), 44 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/drivers/gpu/drm/panthor/panthor_hw.c
index 3f7175cb0ab4..f39010c0ca86 100644
version guards
if the change is minor. For more complex changes, the function can be
forked and the appropriate function will need to be called based on the
GPU architecture version.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/Makefile | 1 +
drivers/gpu/drm/panthor
unnecessary pre-parsing of register fields from v1. Retaining
current implementation as much as possible.
- Added support for G710, G715, G720, and G725 series of Mali GPUs.
- Link to v1:
https://lore.kernel.org/all/20241219170521.64879-1-karunika.c...@arm.com/
Karunika Choo (6):
drm/panthor
This patch provides an initialization framework for multiple Mali GPUs
by introducing a GPU support look-up table. Each entry contains, at
minimum, the architecture major version of the GPU, and may optionally
provide feature flags and register offset overrides.
Signed-off-by: Karunika Choo
This patch adds GPU model name and FW binary support for Mali-G710,
Mali-G510, and Mali-G310.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 6 ++
2 files changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/panthor
patch enables FLUSH_CACHES for both families of GPUs via the
PANTHOR_HW_FEATURE_GPU_CTRL_CACHE_FLUSH bit until FLUSH_PA_RANGE support
is added. It also adds the aforementioned register definitions and
firmware binary support for arch 12.8 and 13.8.
Signed-off-by: Karunika Choo
---
drivers/gp
patch enables FLUSH_CACHES for both families of GPUs via the
PANTHOR_HW_FEATURE_GPU_CTRL_CACHE_FLUSH bit until FLUSH_PA_RANGE support
is added. It also adds the aforementioned register definitions and
firmware binary support for arch 12.8 and 13.8.
Signed-off-by: Karunika Choo
---
drivers/gp
necessary register reads behind GPU architecture version guards if the
change is minor. For more complex changes, the function can be forked
and we can leverage the panthor_hw_ops structure to provide architecture
specific initialization routines.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm
also enables cache maintenance via GPU_CONTROL for Mali-Gx10
and Mali-Gx15 GPUs for consistency.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 6 +
drivers/gpu/drm/panthor/panthor_hw.h | 6 +
drivers/gpu/drm/panthor/panthor_mmu.c | 35
Us.
- arch 11.8 FW binary support
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 1 +
drivers/gpu/drm/panthor/panthor_hw.c | 18 ++
drivers/gpu/drm/panthor/panthor_regs.h | 11 +++
include/uapi/drm/panthor_drm.h | 3 +++
4 files c
This patch adds GPU model name and FW binary support for Mali-G710,
Mali-G510, and Mali-G310.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 6 ++
2 files changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/panthor
current implementation as much as possible.
- Added support for G710, G715, G720, and G725 series of Mali GPUs.
- Link to v1:
https://lore.kernel.org/all/20241219170521.64879-1-karunika.c...@arm.com/
Thanks,
Karunika Choo
Karunika Choo (7):
drm/panthor: Add GPU specific initialization
ed GPU features.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 63 +++---
drivers/gpu/drm/panthor/panthor_regs.h | 2 +
2 files changed, 19 insertions(+), 46 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/drivers/gpu/drm/panthor/pantho
G725 series of Mali GPUs.
- Link to v1:
https://lore.kernel.org/all/20241219170521.64879-1-karunika.c...@arm.com/
Thanks,
Karunika Choo
Karunika Choo (7):
drm/panthor: Add GPU specific initialization framework
drm/panthor: Move GPU info initialization into panthor_hw.c
drm/panthor: Make
ed GPU features.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 63 +++---
drivers/gpu/drm/panthor/panthor_regs.h | 2 +
2 files changed, 19 insertions(+), 46 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/drivers/gpu/drm/panthor/pantho
Us.
- arch 11.8 FW binary support
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 1 +
drivers/gpu/drm/panthor/panthor_hw.c | 18 ++
drivers/gpu/drm/panthor/panthor_regs.h | 11 +++
include/uapi/drm/panthor_drm.h | 3 +++
4 files c
also enables cache maintenance via GPU_CONTROL for Mali-Gx10
and Mali-Gx15 GPUs for consistency.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 6 +
drivers/gpu/drm/panthor/panthor_hw.h | 6 +
drivers/gpu/drm/panthor/panthor_mmu.c | 35
necessary register reads behind GPU architecture version guards if the
change is minor. For more complex changes, the function can be forked
and we can leverage the panthor_hw_ops structure to provide architecture
specific initialization routines.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm
This patch provides an initialization framework for multiple Mali GPUs
by introducing a GPU support look-up table. Each entry contains, at
minimum, the architecture major version of the GPU, and may optionally
provide feature flags and register offset overrides.
Signed-off-by: Karunika Choo
ed GPU features.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 63 +++---
drivers/gpu/drm/panthor/panthor_regs.h | 2 +
2 files changed, 19 insertions(+), 46 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/drivers/gpu/drm/panthor/pantho
and Mali-G615 GPUs.
- arch 11.8 FW binary support
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 1 +
drivers/gpu/drm/panthor/panthor_hw.c | 18 ++
drivers/gpu/drm/panthor/panthor_regs.h | 11 +++
include/uapi/drm/panthor_drm.h |
-devel/20250410163546.919749-1-karunika.c...@arm.com/
Kind regards,
Karunika Choo
Karunika Choo (2):
drm/panthor: Add 64-bit and poll register accessors
drm/panthor: Clean up 64-bit register definitions
drivers/gpu/drm/panthor/panthor_device.h | 71 ++
drivers/gpu/drm/panthor
: Boris Brezillon
Suggested-by: Boris Brezillon
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_drv.c | 4 +-
drivers/gpu/drm/panthor/panthor_gpu.c | 8 +--
drivers/gpu/drm/panthor/panthor_gpu.h | 10 +--
drivers/gpu/drm/panthor/panthor_mmu.c | 16 ++---
drivers/gpu/drm
: Boris Brezillon
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_device.h | 71 ++
drivers/gpu/drm/panthor/panthor_drv.c| 4 +-
drivers/gpu/drm/panthor/panthor_fw.c | 9 +-
drivers/gpu/drm/panthor/panthor_gpu.c| 159 +--
drivers/gpu/drm
This patch adds 64-bit register accessors to simplify register access in
Panthor. It also adds 32-bit and 64-bit variants for read_poll_timeout.
This patch also updates Panthor to use the new 64-bit accessors and poll
functions.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor
This patch adds 64-bit register accessors to simplify register access in
Panthor. It also adds 32-bit and 64-bit variants for read_poll_timeout.
This patch also updates Panthor to use the new 64-bit accessors and poll
functions.
Reviewed-by: Boris Brezillon
Signed-off-by: Karunika Choo
register definitions and renamed *_LO registers
- Link to v1:
https://lore.kernel.org/dri-devel/20250410163546.919749-1-karunika.c...@arm.com/
Kind regards,
Karunika Choo
Karunika Choo (2):
drm/panthor: Add 64-bit and poll register accessors
drm/panthor: Clean up 64-bit register definitions
-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_gpu.c | 12 ++--
drivers/gpu/drm/panthor/panthor_gpu.h | 10 +--
drivers/gpu/drm/panthor/panthor_mmu.c | 16 ++---
drivers/gpu/drm/panthor/panthor_regs.h | 94 +-
4 files changed, 52 insertions(+), 80 deletions
On 10/04/2025 17:46, Boris Brezillon wrote:
> On Thu, 10 Apr 2025 17:35:46 +0100
> Karunika Choo wrote:
>
>> This patch adds 64-bit register accessors to simplify register access in
>> Panthor. It also adds 32-bit and 64-bit variants for read_poll_timeout.
>>
>>
With the introduction of 64-bit register accessors, the separate *_HI
definitions are no longer necessary. This change removes them and
renames the corresponding *_LO entries for cleaner and more consistent
register definitions.
Suggested-by: Boris Brezillon
Signed-off-by: Karunika Choo
...@arm.com/
Kind regards,
Karunika Choo
Karunika Choo (2):
drm/panthor: Add 64-bit and poll register accessors
drm/panthor: Clean up 64-bit register definitions
drivers/gpu/drm/panthor/panthor_device.h | 71
drivers/gpu/drm/panthor/panthor_fw.c | 9 +-
drivers/gpu/drm/panthor
This patch adds 64-bit register accessors to simplify register access in
Panthor. It also adds 32-bit and 64-bit variants for read_poll_timeout.
This patch also updates Panthor to use the new 64-bit accessors and poll
functions.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor
On 10/04/2025 14:28, Boris Brezillon wrote:
> On Wed, 9 Apr 2025 14:00:54 +0100
> Karunika Choo wrote:
>
>> On 21/03/2025 07:48, Boris Brezillon wrote:
>>> On Thu, 20 Mar 2025 11:17:33 +
>>> Karunika Choo wrote:
>>>
>>>> This pat
On 21/03/2025 08:02, Boris Brezillon wrote:
> On Thu, 20 Mar 2025 11:17:37 +
> Karunika Choo wrote:
>
>> This patch replaces the previous panthor_model structure with a simple
>> switch case based on the product_id, which is in the format of:
>> ((arch_m
On 21/03/2025 07:53, Boris Brezillon wrote:
> On Thu, 20 Mar 2025 11:17:34 +
> Karunika Choo wrote:
>
>> This patch updates Panthor to use the new 64-bit accessors and poll
>> functions.
>
> nit: I don't think it makes sense to dissociate the introduction of
On 21/03/2025 07:48, Boris Brezillon wrote:
> On Thu, 20 Mar 2025 11:17:33 +
> Karunika Choo wrote:
>
>> This patch adds 64-bit register accessors to simplify register access in
>> Panthor. It also adds 32-bit and 64-bit variants for read_poll_timeout.
>>
>
rences based on GPU features.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.c | 63 +++---
drivers/gpu/drm/panthor/panthor_regs.h | 1 +
2 files changed, 18 insertions(+), 46 deletions(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c
b/drivers/g
family of GPUs.
- arch 11.8 FW binary support
- reading and handling of GPU_FEATURES register
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 1 +
drivers/gpu/drm/panthor/panthor_hw.c | 26 ++
drivers/gpu/drm/panthor/panthor_r
will enable Panthor to support GPUs with changes to register
offsets, size and fields.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_gpu.c | 95 ---
drivers/gpu/drm/panthor/panthor_hw.c | 105 ++
drivers/gpu/drm/panthor/panthor_hw.h
This patch adds 64-bit register accessors to simplify register access in
Panthor. It also adds 32-bit and 64-bit variants for read_poll_timeout.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_regs.h | 55 ++
1 file changed, 55 insertions(+)
diff --git
U, base addresses
describing changes in register offsets, and supported features.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/Makefile | 1 +
drivers/gpu/drm/panthor/panthor_device.c | 5 ++
drivers/gpu/drm/panthor/panthor_device.h | 3 +
drivers/gpu/drm/panthor/pant
This patch updates Panthor to use the new 64-bit accessors and poll
functions.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 9 +-
drivers/gpu/drm/panthor/panthor_gpu.c | 142 +++---
drivers/gpu/drm/panthor/panthor_mmu.c | 34 ++
3 files
patch enables FLUSH_CACHES for both families of GPUs via the
PANTHOR_HW_FEATURE_GPU_CTRL_CACHE_FLUSH bit until FLUSH_PA_RANGE support
is added. It also adds the aforementioned register definitions and
firmware binary support for arch 12.8 and 13.8.
Signed-off-by: Karunika Choo
---
drivers/gp
This patch adds GPU model name and FW binary support for Mali-G710,
Mali-G510, and Mali-G310.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 2 ++
drivers/gpu/drm/panthor/panthor_hw.c | 6 ++
2 files changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/panthor
.
- Removed unnecessary pre-parsing of register fields from v1. Retaining current
implementation as much as possible.
- Added support for G710, G715, G720, and G725 series of Mali GPUs.
- Link to v1:
https://lore.kernel.org/all/20241219170521.64879-1-karunika.c...@arm.com/
Thanks,
Karunika Choo
-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_hw.h | 6 +
drivers/gpu/drm/panthor/panthor_mmu.c | 35 +++
2 files changed, 41 insertions(+)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.h
b/drivers/gpu/drm/panthor/panthor_hw.h
index dfe0f86c5d76
This patch adds 64-bit register accessors to simplify register access in
Panthor. It also adds 64-bit variants for read_poll_timeout and replaces
all 64-bit and poll register accesses with these new functions.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/panthor_fw.c | 11
.
Patch 3/4 implements the GPU specific initialization framework.
Patch 4/4 provides an example of feature detection by performing cache
flushes via the GPU_COMMAND register in place of the AS_COMMAND register
when a feature bit ise set.
Karunika Choo (4):
drm/panthor: Add 64-bit register
This patch adds parsing of GPU register fields on initialization instead of
parsing the fields each time it is needed.
Signed-off-by: Karunika Choo
---
drivers/gpu/drm/panthor/Makefile | 1 +
drivers/gpu/drm/panthor/panthor_device.c | 1 +
drivers/gpu/drm/panthor/panthor_device.h
1 - 100 of 105 matches
Mail list logo