Dear Michel,
Am 15.05.2018 um 10:41 schrieb Michel Dänzer:
On 2018-05-15 08:38 AM, Paul Menzel wrote:
On 2018-05-14 10:44, Michel Dänzer wrote:
On 2018-05-13 11:01 AM, Paul Menzel wrote:
There is a regression introduced by a commit after Linux 4.17-rc4
causing the X.Org X server start to f
No, that spinlock is indeed incorrect.
See even when we protect the spsc queue with a spinlock that doesn't
make it correct. It can happen that the jobs pushed to the queue are
reversed in their sequence order and that can cause severe problems in
the memory management.
Christian.
Am 16.
Yeah, that what I am not sure about... It's lockless in a sense of single
producer single consumer but not for multiple concurrent producers... So now I
think this spinlock should stay there... It just looked useless to me at first
sight...
Andrey
From:
On 2018年05月16日 03:31, Andrey Grodzovsky wrote:
Signed-off-by: Andrey Grodzovsky
---
drivers/gpu/drm/scheduler/gpu_scheduler.c | 4
include/drm/gpu_scheduler.h | 1 -
2 files changed, 5 deletions(-)
diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c
b/drivers/gpu/dr
On 2018-05-15 05:41 AM, Dave Airlie wrote:
>> +static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id,
>> + uint32_t queue_id, uint32_t __user *wptr,
>> + uint32_t wptr_shift, uint32_t wptr_mask,
>> + struct mm_stru
Yea, I might need to give another thought to whether this spinlock can
actually be removed.
Andrey
On 05/15/2018 03:38 PM, Alex Deucher wrote:
On Tue, May 15, 2018 at 3:31 PM, Andrey Grodzovsky
wrote:
Signed-off-by: Andrey Grodzovsky
Please provide a better patch description.
Alex
---
On Tue, May 15, 2018 at 3:31 PM, Andrey Grodzovsky
wrote:
> Follwoing change 75fbed2 we need to skip KIQ ring when iterating
> amdgpu_ctx's scheduler entites.
>
> Signed-off-by: Andrey Grodzovsky
Typo in the title: realted -> related
Typo in the description: Follwoing -> Following
Also expand on
On Tue, May 15, 2018 at 3:31 PM, Andrey Grodzovsky
wrote:
> Signed-off-by: Andrey Grodzovsky
Please provide a better patch description.
Alex
> ---
> drivers/gpu/drm/scheduler/gpu_scheduler.c | 4
> include/drm/gpu_scheduler.h | 1 -
> 2 files changed, 5 deletions(-)
>
> dif
Signed-off-by: Andrey Grodzovsky
---
drivers/gpu/drm/scheduler/gpu_scheduler.c | 4
include/drm/gpu_scheduler.h | 1 -
2 files changed, 5 deletions(-)
diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c
b/drivers/gpu/drm/scheduler/gpu_scheduler.c
index 1f1dd70..2569a63 100
Follwoing change 75fbed2 we need to skip KIQ ring when iterating
amdgpu_ctx's scheduler entites.
Signed-off-by: Andrey Grodzovsky
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdg
Hi Dave,
Main changes for 4.18. I'd like to do a separate pull for vega20 later
this week or next. Highlights:
- Reserve pre-OS scanout buffer during init for seemless transition from
console to driver
- VEGAM support
- Improved GPU scheduler documentation
- Initial gfxoff support for raven
-
On 5/15/2018 9:47 AM, Joseph Salisbury wrote:
> On 05/15/2018 09:08 AM, Tom Lendacky wrote:
>> On 5/15/2018 7:34 AM, Nath, Arindam wrote:
>>>
-Original Message-
From: Joseph Salisbury [mailto:joseph.salisb...@canonical.com]
Sent: Tuesday, May 15, 2018 5:40 PM
To: Nath, A
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
b/drivers/gpu/drm/amd/amdg
Must set amdgpu.exp_hw_support=1 on the kernel command line in
grub to enable support.
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
b/drivers/gpu/d
From: Feifei Xu
v2: fix whitespace (Alex)
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Reviewed-by: Huang Rui
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgp
From: James Zhu
Enable 2nd instance uvd queue maping for uvd 7.2. For user, only one UVD
instance presents. there is two rings for uvd decode, and
4 rings for uvd encode.
Signed-off-by: James Zhu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_queu
From: Feifei Xu
New df helpers for 3.6.
v2: switch to using df 3.5 headers.
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Reviewed-by: Huang Rui
---
drivers/gpu/drm/amd/amdgpu/Makefile | 3 +-
drivers/gpu/drm/amd/amdgpu/df_v3_6.c | 116 +++
drivers/g
From: James Zhu
Vega20 ucode load type is set to AMDGPU_FW_LOAD_DIRECT for default.
So UVD/VCE needn't PSP IP block up. UVD/VCE for Vega20 can be enabled
at this moment.
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 6 ++---
Needed for vega20.
Signed-off-by: Alex Deucher
---
.../drm/amd/include/asic_reg/df/df_3_6_default.h | 26
.../drm/amd/include/asic_reg/df/df_3_6_offset.h| 33 +++
.../drm/amd/include/asic_reg/df/df_3_6_sh_mask.h | 48 ++
3 files changed, 107 i
From: James Zhu
For Vega20, the 2nd instance uvd IRQ using different client id.
Enable the 2nd instance IRQ for uvd 7.2
Signed-off-by: James Zhu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 12 ++--
1 file changed, 10 insertions(+)
From: James Zhu
Vega20 has dual-UVD. Need add multiple instances support for uvd.
Restruct uvd.inst, using uvd.inst[0] to replace uvd.inst->.
Repurpose amdgpu_ring::me for instance index, and initialize to 0.
There are no any logical changes here.
Signed-off-by: James Zhu
Reviewed-by: Alex Deuc
From: James Zhu
For Vega20, there are two UVD hardware. Need add
the 2nd IH client ID for the 2nd UVD Hardware.
Signed-off-by: James Zhu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/include/soc15_ih_clientid.h | 1 +
1 file changed, 1 insertion(+)
diff --git
From: James Zhu
For Vega20, set num of uvd instance to 2, to enble 2nd instance.
The IB test build-in registers need update for vega20 2nd instance.
Signed-off-by: James Zhu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 30 +++
From: James Zhu
Vega20 has dual-UVD. Need Restruct amdgpu_device::uvd to support
multiple uvds. There are no any logical changes here.
Signed-off-by: James Zhu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 6 +-
drivers/gpu/drm/am
From: James Zhu
For Vega20, there are two UVD Hardware. One more UVD hardware
adds one decode ring and two encode rings. So AMDGPU_MAX_RINGS
need increase by 3.
Signed-off-by: James Zhu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 2 +-
From: Feifei Xu
Please enable above ips on soc15.c when they're available.
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm
From: James Zhu
Vega20 dual-UVD Hardware need two idle_works, restruct to support
multiple instance.
v2: squash in indentation fix
Signed-off-by: James Zhu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 17 +
drivers/gpu/d
From: Evan Quan
Signed-off-by: Evan Quan
Reviewed-by: Huang Rui
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
i
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Evan Quan
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/include/vega20_ip_offset.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/include/vega20_ip_offset.h
b/drivers/gpu/drm/amd/include/
First try and fetch the gpu info firmware and then fall back to
the vbios table if the gpu info firmware is not available.
v2: warning fix (Alex)
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.
From: James Zhu
Vega20 uses vce 4.1 engine, all the registers have the
same absolute offset with vce 4.0. By adjusting vega20
VCE_BASE, vce 4.1 can reuse vce 4.0 header files.
Signed-off-by: James Zhu
Reviewed-by: Alex Deucher
Reviewed-by: Huang Rui
Signed-off-by: Alex Deucher
---
drivers/g
From: "Jerry (Fangzhi) Zuo"
Signed-off-by: Jerry (Fangzhi) Zuo
Reviewed-by: Hersen Wu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
Signed-off-by: Feifei Xu
---
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/dr
From: Feifei Xu
Signed-off-by: Jerry (Fangzhi) Zuo
Reviewed-by: Hersen Wu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
Signed-off-by: Feifei Xu
---
drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 11 ++-
drivers/gpu/drm/amd/display/include/dal_asic_id.h | 6 ++
2 f
No longer required.
Reviewed-by: Amber Lin
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 +---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 8 +++-
2 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
From: Feifei Xu
Please revert this patch when psp load fw is enabled.
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
Adds additional gfx configuration data.
v2: fix typo
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/include/atomfirmware.h | 34 ++
1 file changed, 34 insertions(+)
diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h
b/drivers/g
Add support for the gfx_info table on boards that use atomfirmware.
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 46
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 1 +
2 files changed, 47 insertions(
From: "Jerry (Fangzhi) Zuo"
Retrieve fuses to determine the availability of pipes, and
eliminate pipes that cannot be used.
Signed-off-by: Jerry (Fangzhi) Zuo
Reviewed-by: Hersen Wu
Reviewed-by: Tony Cheng
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
Signed-off-by: Feifei Xu
---
From: "Jerry (Fangzhi) Zuo"
Signed-off-by: Jerry (Fangzhi) Zuo
Reviewed-by: Harry Wentland
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/display/Kconfig | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/Kconfig
b/drivers
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgp
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers
From: Roman Li
Updating dce12 register headers by adding dc registers
required for potential DP LTTPR support.
Signed-off-by: Roman Li
Acked-by: Alex Deucher
Signed-off-by: Alex Deucher
---
.../drm/amd/include/asic_reg/dce/dce_12_0_offset.h | 12 ++
.../amd/include/asic_reg/dce/dce_12_0_sh_
From: Feifei Xu
Some register offset in nbio v7.4 are different with v7.0.
v2: Use nbio7.0 for now.
TODO: add a new nbio 7.4 module (Alex)
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c |
From: Feifei Xu
Same as vega10 now.
v2: squash in typo fix
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
From: Feifei Xu
Vega20 need a seperate vega20_reg_init.c due to ip base
offset difference.
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/Makefile | 3 +-
drivers/gpu/drm/amd/amdgpu/soc15.c
From: Feifei Xu
Same as vega10 for now.
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index f4
From: Feifei Xu
Set external_rev_id and disable cg,pg for now.
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Reviewed-by: Huang Rui
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/so
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v9
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0
From: Feifei Xu
v2: clean up (Alex)
v3: additional cleanups (Alex)
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/gpu
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
b/drivers/gpu/drm/amd/amd
From: Feifei Xu
v2: squash in updates (Alex)
v3: squash in more updates (Alex)
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 22 ++
1 file changed, 22 insertions(+)
d
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
b/drivers/gpu/drm/amd/amdgpu/s
From: Feifei Xu
v2: squash in updates (Alex)
v3: squash in more updates (Alex)
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 27 +++
1 file changed, 27 insertions
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
b/drivers/gpu/drm/amd/amdgpu/mmhu
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
b/drivers/gpu/drm/amd/amdgpu
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gmc_v
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
b/drivers/gpu/drm/amd/amdgpu
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
b/drivers/gpu/drm/amd/amdgpu/dc
From: Feifei Xu
The same as vega10 for now.
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 1 +
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 3 +++
2 files changed, 4 insertions(+)
diff --
From: Feifei Xu
The same as vega10.
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
b/driver
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 3 +++
drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/gpu
From: Feifei Xu
Initial powerplay support the same as vega10 for now.
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgp
From: Feifei Xu
This headerfile contains vega20's ip base addresses.
Signed-off-by: Feifei Xu
Reviewed-by: Hawking Zhang
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/include/vega20_ip_offset.h | 1050
1 file changed, 1050 insertions(
From: Feifei Xu
vega20_gpu_info firmware stores gpu configuration for vega20.
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4
1 file changed, 4 insertions(+)
diff --git a/driv
From: Feifei Xu
Add vega20 to amd_asic_type enum and amdgpu_asic_name[].
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
include/drm/amd_asic_type.h| 1 +
2 files
This patch set adds initial support for vega20.
Alex Deucher (6):
drm/amdgpu/atomfirmware: add new gfx_info data table v2.4 (v2)
drm/amdgpu/atomfirmware: add parser for gfx_info table
drm/amdgpu/vg20: fallback to vbios table if gpu info fw is not
available (v2)
drm/amdgpu: drop gpu_inf
Am 15.05.2018 um 16:50 schrieb Alex Deucher:
From: Feifei Xu
Users can pass in an array to decide enable/disable Zero Frame Buffer.
zfb[0] = zfb_size(MB), zfb[1] = zfb_phys_addr(MB).
If zbf_size > 0, zfb is enabled. Otherwise disabled.
Usage for example:
modprobe amdgpu zfb=256,4096
I st
On 05/15/2018 09:08 AM, Tom Lendacky wrote:
> On 5/15/2018 7:34 AM, Nath, Arindam wrote:
>>
>>> -Original Message-
>>> From: Joseph Salisbury [mailto:joseph.salisb...@canonical.com]
>>> Sent: Tuesday, May 15, 2018 5:40 PM
>>> To: Nath, Arindam
>>> Cc: io...@lists.linux-foundation.org; Brid
From: Feifei Xu
Signed-off-by: Hawking Zhang
Signed-off-by: Feifei Xu
Acked-by: John Bridgman
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 2 ++
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c| 6 ++
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0
From: Feifei Xu
Signed-off-by: Hawking Zhang
Signed-off-by: Feifei Xu
Acked-by: John Bridgman
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 9 +++--
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 9 +++--
2 files changed, 14 inserti
From: Hawking Zhang
Signed-off-by: Hawking Zhang
Acked-by: John Bridgman
Reviewed-by: Alex Deucher
Signed-off-by: Feifei Xu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c | 19 +++
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 19 +++
2
From: Feifei Xu
Signed-off-by: Feifei Xu
Signed-off-by: Hawking Zhang
Acked-by: John Bridgman
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 27 +--
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/driv
From: Feifei Xu
Signed-off-by: Hawking Zhang
Signed-off-by: Feifei Xu
Acked-by: John Bridgman
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
b/
From: Feifei Xu
Use module parameter passed from user to initialize zfb start address
and size.
Signed-off-by: Feifei Xu
Signed-off-by: Hawking Zhang
Acked-by: John Bridgman
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 9 +
This patch set adds Zero FrameBuffer (ZFB) support to amdgpu. This
feature is used for emulators and early silicon before vram is
available. System ram is used for "vram".
Feifei Xu (6):
drm/amdgpu: add new member in amdgpu_mc for zfb support
drm/amdgpu: add amdgpu module parameter for zfb
From: Feifei Xu
Users can pass in an array to decide enable/disable Zero Frame Buffer.
zfb[0] = zfb_size(MB), zfb[1] = zfb_phys_addr(MB).
If zbf_size > 0, zfb is enabled. Otherwise disabled.
Usage for example:
modprobe amdgpu zfb=256,4096
Signed-off-by: Feifei Xu
Acked-by: John Bridgman
Re
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 90065766fffb..f31df18fcb81
From: Evan Quan
This is needed for vega12 and vega20 which do not support legacy
powerstate. With this new framework, the DAL clocks limits can also
be honored on these asics.
Signed-off-by: Evan Quan
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/powerplay/hwm
From: Evan Quan
Signed-off-by: Evan Quan
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c | 10 ++
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c | 2 ++
drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h | 1 +
From: Feifei Xu
Update golden_settings_gc_9_0[].
Signed-off-by: Feifei Xu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0
On 05/15/2018 04:03 AM, Nath, Arindam wrote:
> Adding Tom.
>
> Hi Joe,
>
> My original patch was never accepted. Tom and Joerg worked on another patch
> series which was supposed to fix the issue in question in addition to do some
> code cleanups. I believe their patches are already in the mainli
NFC just comments.
(v2): Updated based on feedback from Alex Deucher.
Signed-off-by: Tom St Denis
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 347 +++-
1 file changed, 340 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
b/drive
On 5/15/2018 7:34 AM, Nath, Arindam wrote:
>
>
>> -Original Message-
>> From: Joseph Salisbury [mailto:joseph.salisb...@canonical.com]
>> Sent: Tuesday, May 15, 2018 5:40 PM
>> To: Nath, Arindam
>> Cc: io...@lists.linux-foundation.org; Bridgman, John
>> ; j...@8bytes.org; amd-
>> g...@li
> -Original Message-
> From: Joseph Salisbury [mailto:joseph.salisb...@canonical.com]
> Sent: Tuesday, May 15, 2018 5:40 PM
> To: Nath, Arindam
> Cc: io...@lists.linux-foundation.org; Bridgman, John
> ; j...@8bytes.org; amd-
> g...@lists.freedesktop.org; dr...@endlessm.com; stein...@gmai
> +static int kgd_hqd_load(struct kgd_dev *kgd, void *mqd, uint32_t pipe_id,
> + uint32_t queue_id, uint32_t __user *wptr,
> + uint32_t wptr_shift, uint32_t wptr_mask,
> + struct mm_struct *mm)
> +{
> + struct amdgpu_device *ad
On 2018-05-15 08:38 AM, Paul Menzel wrote:
> On 2018-05-14 10:44, Michel Dänzer wrote:
>> On 2018-05-13 11:01 AM, Paul Menzel wrote:
>>> Dear Linux AMD folks,
>>>
>>>
>>> There is a regression introduced by a commit after Linux 4.17-rc4
>>> causing the X.Org X server start to fail with the Radeon m
Adding Tom.
Hi Joe,
My original patch was never accepted. Tom and Joerg worked on another patch
series which was supposed to fix the issue in question in addition to do some
code cleanups. I believe their patches are already in the mainline. If I
remember correctly, one of the patches disabled
90 matches
Mail list logo