diff mbox

drm/etnaviv: Add new GC3000 sensitive states

Message ID 20161214085308.GA9422@amethyst.visucore.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wladimir J. van der Laan Dec. 14, 2016, 8:53 a.m. UTC
- Add PS.INST_ADDR and VS.INST_ADDR: GC3000 loads shader code from these addresses if ICACHE
is enabled.

- Add new NFE vertex stream addresses.
---
 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Lucas Stach Dec. 15, 2016, 11:25 a.m. UTC | #1
Am Mittwoch, den 14.12.2016, 09:53 +0100 schrieb Wladimir J. van der
Laan:
> - Add PS.INST_ADDR and VS.INST_ADDR: GC3000 loads shader code from these addresses if ICACHE
> is enabled.
> 
> - Add new NFE vertex stream addresses.

Please resend with a proper Signed-off-by line. I can't take a patch for
mainline inclusion without it.

> ---
>  drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
> index 2a2e5e3..abb37c6 100644
> --- a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
> +++ b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
> @@ -56,6 +56,8 @@ static const struct {
>  	ST(0x0644, 1),
>  	ST(0x064c, 1),
>  	ST(0x0680, 8),
> +	ST(0x086c, 1),
> +	ST(0x1028, 1),
>  	ST(0x1410, 1),
>  	ST(0x1430, 1),
>  	ST(0x1458, 1),
> @@ -75,6 +77,7 @@ static const struct {
>  	ST(0x1740, 8),
>  	ST(0x2400, 14 * 16),
>  	ST(0x10800, 32 * 16),
> +	ST(0x14600, 16),
>  #undef ST
>  };
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
index 2a2e5e3..abb37c6 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c
@@ -56,6 +56,8 @@  static const struct {
 	ST(0x0644, 1),
 	ST(0x064c, 1),
 	ST(0x0680, 8),
+	ST(0x086c, 1),
+	ST(0x1028, 1),
 	ST(0x1410, 1),
 	ST(0x1430, 1),
 	ST(0x1458, 1),
@@ -75,6 +77,7 @@  static const struct {
 	ST(0x1740, 8),
 	ST(0x2400, 14 * 16),
 	ST(0x10800, 32 * 16),
+	ST(0x14600, 16),
 #undef ST
 };