Mesa (main): ac: add more non-shadowed registers to the lists

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Apr 23 02:09:39 UTC 2022


Module: Mesa
Branch: main
Commit: f71908500711f9a9abd1363093a9469fd7bbe0b8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f71908500711f9a9abd1363093a9469fd7bbe0b8

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Tue Mar 22 09:07:20 2022 -0400

ac: add more non-shadowed registers to the lists

Reviewed-by: Mihai Preda <mhpreda at gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15966>

---

 src/amd/common/ac_shadowed_regs.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/amd/common/ac_shadowed_regs.c b/src/amd/common/ac_shadowed_regs.c
index 255af7ae8a7..93ee0e50be4 100644
--- a/src/amd/common/ac_shadowed_regs.c
+++ b/src/amd/common/ac_shadowed_regs.c
@@ -579,6 +579,10 @@ static const struct ac_reg_range Navi10NonShadowedRanges[] = {
       R_030800_GRBM_GFX_INDEX,
       4,
    },
+   {
+      R_030A00_PA_SU_LINE_STIPPLE_VALUE,
+      R_030A04_PA_SC_LINE_STIPPLE_STATE - R_030A00_PA_SU_LINE_STIPPLE_VALUE + 4,
+   },
    {
       R_031100_SPI_CONFIG_CNTL_REMAP,
       4,
@@ -798,6 +802,10 @@ static const struct ac_reg_range Gfx103NonShadowedRanges[] = {
       R_030800_GRBM_GFX_INDEX,
       4,
    },
+   {
+      R_030A00_PA_SU_LINE_STIPPLE_VALUE,
+      R_030A04_PA_SC_LINE_STIPPLE_STATE - R_030A00_PA_SU_LINE_STIPPLE_VALUE + 4,
+   },
    {
       R_031100_SPI_CONFIG_CNTL_REMAP,
       4,



More information about the mesa-commit mailing list