Re: [pull] amdgpu drm-fixes-5.16

2021-12-29 Thread Dave Airlie
On Thu, 30 Dec 2021 at 01:51, Alex Deucher wrote: > > Hi Dave, Daniel, Just FYI on merging this into tip I got a conflict I'm not sure what answer is right. fixes has: ee2698cf79cc759a397c61086c758d4cc85938bf Author: Angus Wang Date: Thu Dec 9 17:27:01 2021 -0500 drm/amd/display: Changed

Re: [pull] amdgpu, amdkfd drm-next-5.17

2021-12-29 Thread Dave Airlie
Hey, dim: 3be2709660dc ("drm/amdgpu: Call amdgpu_device_unmap_mmio() if device is unplugged to prevent crash in GPU initialization failure"): committer Signed-off-by missing. is missing your sob as you committed it. Please fix it up. Thanks, Dave.

[PATCH] drm/radeon: use kernel is_power_of_2 rather than local version

2021-12-29 Thread Jonathan Gray
Follow the amdgpu change made in 7611750784664db46d0db95631e322aeb263dde7 and replace local radeon function with is_power_of_2(). Signed-off-by: Jonathan Gray --- drivers/gpu/drm/radeon/radeon_device.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/drive

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-29 Thread Alex Deucher
On Wed, Dec 29, 2021 at 12:34 PM Yann Dirson wrote: > > Alex wrote: > > On Wed, Dec 29, 2021 at 11:59 AM Yann Dirson wrote: > > > > > > Alex wrote: > > > > On Tue, Dec 21, 2021 at 6:09 PM Yann Dirson > > > > wrote: > > > > > > > > > > > > > > > > > > > > - Mail original - > > > > > > De:

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-29 Thread Yann Dirson
Alex wrote: > On Wed, Dec 29, 2021 at 11:59 AM Yann Dirson wrote: > > > > Alex wrote: > > > On Tue, Dec 21, 2021 at 6:09 PM Yann Dirson > > > wrote: > > > > > > > > > > > > > > > > - Mail original - > > > > > De: "Alex Deucher" > > > > > À: "Yann Dirson" > > > > > Cc: "Christian König"

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-29 Thread Alex Deucher
On Wed, Dec 29, 2021 at 11:59 AM Yann Dirson wrote: > > Alex wrote: > > On Tue, Dec 21, 2021 at 6:09 PM Yann Dirson wrote: > > > > > > > > > > > > - Mail original - > > > > De: "Alex Deucher" > > > > À: "Yann Dirson" > > > > Cc: "Christian König" , > > > > "amd-gfx list" > > > > Envoyé

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-29 Thread Yann Dirson
Alex wrote: > On Tue, Dec 21, 2021 at 6:09 PM Yann Dirson wrote: > > > > > > > > - Mail original - > > > De: "Alex Deucher" > > > À: "Yann Dirson" > > > Cc: "Christian König" , > > > "amd-gfx list" > > > Envoyé: Mardi 21 Décembre 2021 23:31:01 > > > Objet: Re: Various problems trying to

[pull] amdgpu, amdkfd drm-next-5.17

2021-12-29 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.17. The following changes since commit a342655865b2f14d1fbf346356d3b3360e63e872: drm/radeon: Fix syntax errors in comments (2021-12-14 16:11:02 -0500) are available in the Git repository at: https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-5.17

[pull] amdgpu drm-fixes-5.16

2021-12-29 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.16. A little bigger than usual since it's two weeks worth of fixes. We have a fix for the runtime pm regression with efifb, but we are currently testing some less invasive changes. See: https://gitlab.freedesktop.org/drm/amd/-/issues/1840 https://bugzilla.kernel.org

[PATCH] gpu/drm/radeon:Fix null pointer risk

2021-12-29 Thread Wen Zhiwei
If the null pointer is not judged in advance, there is a risk that the pointer will cross the boundary Signed-off-by: Wen Zhiwei --- drivers/gpu/drm/radeon/radeon_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_vm.c b/drivers/gpu/drm/radeon

nvidia-smi (on-demand)

2021-12-29 Thread __- -__
? NV-CONTROL NV-GLX (ok)

[PATCH] drm/amdgpu: add dummy event6 for vega10

2021-12-29 Thread James Yao
[why] Malicious mailbox event1 fails driver loading on vega10. An dummy event6 prevent driver from taking response from malicious event1 as its own. [how] On vega10, send a mailbox event6 before sending event1. Signed-off-by: James Yao --- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 4 dr

Re: [PATCH] drm/amdgpu: avoid NULL pointer dereference

2021-12-29 Thread Das, Nirmoy
LGTM Acked-by: Nirmoy Das On 12/22/2021 3:19 PM, Guchun Chen wrote: amdgpu_umc_poison_handler for UMC RAS consumption gets called in KFD queue reset, but it needs to return early when RAS context is NULL. This can guarantee lower access to RAS context like in amdgpu_umc_do_page_retirement. Also