v2: refine dce_v6_0_audio_endpt_wreg() and unify inconsistent method names
v3: fix num_pins for tahiti, pitcairn, verde and oland
Signed-off-by: Xiaojie Yuan <xiaojie.y...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 467 +++--
.../drm/amd/include/as
v2: refine dce_v6_0_audio_endpt_wreg() and unify inconsistent method names
Signed-off-by: Xiaojie Yuan <xiaojie.y...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 457 +++--
.../drm/amd/include/asic_reg/dce/dce_6_0_sh_mask.h | 2 +
2 files change
Signed-off-by: Xiaojie Yuan <xiaojie.y...@amd.com>
---
amdgpu/amdgpu_device.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
index 2b31c45..72dc6fa 100644
--- a/amdgpu/amdgpu_device.c
+++ b/amdgpu/amdgpu_de
] RIP: (null) RSP: aea002c8bcc0
[ 54.972943] CR2:
[ 54.972951] ---[ end trace 5feb349263bbf633 ]---
Change-Id: I0bb6daf47b6946785e7cefec5d05d09a42ca9a3c
Signed-off-by: Xiaojie Yuan <xiaojie.y...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 1 +
128 is the maximum number of cards that the kernel can support
at the moment.
Change-Id: I155b7b21635306d8ecc440b85fb8954501ab5599
Signed-off-by: Xiaojie Yuan <xiaojie.y...@amd.com>
---
tests/amdgpu/amdgpu_test.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/
Change-Id: I36764951bebbcbf06cf84dd43ee946a34ec7b100
Signed-off-by: Xiaojie Yuan <xiaojie.y...@amd.com>
---
tests/amdgpu/amdgpu_test.c | 44 --
tests/amdgpu/amdgpu_test.h | 7 +-
2 files changed, 34 insertions(+), 17 deletions(-)
diff --git a/tests/
Fixes: b86a1aa36a92 ("drm/amd/display: rename DCN1_0 kconfig to DCN")
Signed-off-by: Xiaojie Yuan
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c
b/drivers/gpu/drm/amd/display/dc
Fixes: 4990f957c845 ("drm/amdgpu/gfx10: fix mqd backup/restore for gfx rings")
Signed-off-by: Xiaojie Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_g
This patch fixes 2nd baco reset failure with gfxoff enabled on navi1x.
clear state buffer (resides in vram) is corrupted after 1st baco reset,
upon gfxoff exit, CPF gets garbage header in CSIB and hangs.
Signed-off-by: Xiaojie Yuan
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 43
srbm_mutex is to guarantee atomicity for r/w of gfx indexed registers
Signed-off-by: Xiaojie Yuan
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
Signed-off-by: Xiaojie Yuan
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 2c5dc9b58e23..6bd8d06dbde9 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b
50us is not enough to wait for cp ready after gpu reset on some navi asics.
Signed-off-by: Xiaojie Yuan
Suggested-by: Jack Xiao
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
b
[amdgpu]
[ 107.324315] dc_create_resource_pool+0x12d/0x170 [amdgpu]
[ 107.329851] dc_create+0x1b8/0x6a0 [amdgpu]
[ 107.334013] ? kmem_cache_alloc_trace+0x1e2/0x230
[ 107.338832] amdgpu_dm_init+0x13e/0x1c0 [amdgpu]
Signed-off-by: Xiaojie Yuan
---
drivers/gpu/drm/amd/display/dc/dcn20
Signed-off-by: Xiaojie Yuan
---
src/lib/ring_decode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ring_decode.c b/src/lib/ring_decode.c
index fa44f27..c5582f5 100644
--- a/src/lib/ring_decode.c
+++ b/src/lib/ring_decode.c
@@ -664,7 +664,7 @@ static void
otherwise we'll out-of-bound when accessing op_37_dst_sel[8]
Signed-off-by: Xiaojie Yuan
---
src/lib/ring_decode.c| 2 +-
src/lib/umr_pm4_decode_opcodes.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/ring_decode.c b/src/lib/ring_decode.c
index
returned: -1
Cannot read from system memory: Bad address
[ERROR]: Accessing system memory returned: -1
Signed-off-by: Xiaojie Yuan
---
src/lib/ip/nbio230_bits.i | 6 +++---
src/lib/ip/nbio230_regs.i | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/lib/ip/nbio230_bits.i b
Signed-off-by: Xiaojie Yuan
---
src/lib/ring_decode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ring_decode.c b/src/lib/ring_decode.c
index 863cb4f..47256cf 100644
--- a/src/lib/ring_decode.c
+++ b/src/lib/ring_decode.c
@@ -673,7 +673,7 @@ static void
field names for INDIRECT_BUFFER_CONST/CIK of gfx9/gfx10 are the same.
fields like OFFLOAD_POLLING and VALID are defined in mec's
INDIRECT_BUFFER packet, so not applicable here.
v2: fix umr_pm4_decode_opcodes.c as well
Signed-off-by: Xiaojie Yuan
---
src/lib/ring_decode.c| 23
field names for INDIRECT_BUFFER_CONST/CIK of gfx9/gfx10 are the same.
fields like OFFLOAD_POLLING and VALID are defined in mec's
INDIRECT_BUFFER packet, so not applicable here.
Signed-off-by: Xiaojie Yuan
---
src/lib/ring_decode.c | 23 +++
1 file changed, 7 insertions
POLL_REGMEM_ADDR_LO/HI are in byte but umr_reg_name() expects register address
in dword
Signed-off-by: Xiaojie Yuan
---
src/lib/ring_decode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/ring_decode.c b/src/lib/ring_decode.c
index a74229d..b5838d1 100644
Signed-off-by: Xiaojie Yuan
---
src/lib/ring_decode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ring_decode.c b/src/lib/ring_decode.c
index c3b5d18..a74229d 100644
--- a/src/lib/ring_decode.c
+++ b/src/lib/ring_decode.c
@@ -1819,7 +1819,7 @@ static void
it is affected by this issue.
fix and simplify the logic similar as sdma_v4_0_ring_get_wptr().
Suggested-by: Le Ma
Signed-off-by: Xiaojie Yuan
---
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 26 --
1 file changed, 8 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/
it is affected by this issue.
fix and simplify the logic similar as sdma_v4_0_ring_get_wptr().
v2: fix for sdma5.2 as well
Suggested-by: Le Ma
Signed-off-by: Xiaojie Yuan
---
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 26 --
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 26 ++
to easily add new debugfs file w/o changing the hardcoded list count.
Signed-off-by: Xiaojie Yuan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 6 --
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 3 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c| 3 ++-
3 files changed, 8 insertions(+), 4
24 matches
Mail list logo