diff mbox series

drm/etnaviv: add sensitive state for PE_RT_ADDR_4_PIPE(3, 0|1) address

Message ID 20231207074308.393008-1-christian.gmeiner@gmail.com (mailing list archive)
State New, archived
Headers show
Series drm/etnaviv: add sensitive state for PE_RT_ADDR_4_PIPE(3, 0|1) address | expand

Commit Message

Christian Gmeiner Dec. 7, 2023, 7:43 a.m. UTC
From: Christian Gmeiner <cgmeiner@igalia.com>

0x1540 is the address of 4th render target address pair (two pixel pipes).

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
---
 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Lucas Stach Dec. 7, 2023, 10:05 a.m. UTC | #1
Am Donnerstag, dem 07.12.2023 um 08:43 +0100 schrieb Christian Gmeiner:
> From: Christian Gmeiner <cgmeiner@igalia.com>
> 
> 0x1540 is the address of 4th render target address pair (two pixel pipes).
> 
Are there any corresponding TS states for this region?

Regards,
Lucas

> Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
> ---
>  drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
> index b106e8b288ad..9bf47327f436 100644
> --- a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
> +++ b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
> @@ -54,6 +54,7 @@ static const struct {
>  	ST(0x1480, 8),
>  	ST(0x1500, 8),
>  	ST(0x1520, 8),
> +	ST(0x1540, 8),
>  	ST(0x1608, 1),
>  	ST(0x1610, 1),
>  	ST(0x1658, 1),
Christian Gmeiner Dec. 7, 2023, 10:31 a.m. UTC | #2
Hi Lucas

>
> Am Donnerstag, dem 07.12.2023 um 08:43 +0100 schrieb Christian Gmeiner:
> > From: Christian Gmeiner <cgmeiner@igalia.com>
> >
> > 0x1540 is the address of 4th render target address pair (two pixel pipes).
> >
> Are there any corresponding TS states for this region?

I will add some more ranges .. Do you want one patch per "region" or
one patch with everything?
diff mbox series

Patch

diff --git a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
index b106e8b288ad..9bf47327f436 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
@@ -54,6 +54,7 @@  static const struct {
 	ST(0x1480, 8),
 	ST(0x1500, 8),
 	ST(0x1520, 8),
+	ST(0x1540, 8),
 	ST(0x1608, 1),
 	ST(0x1610, 1),
 	ST(0x1658, 1),