[PATCH] drm/amdgpu: add checking to avoid null pointer without enabling powerplay

2018-11-18 Thread Huang Rui
This patch adds the checking to avoid null pointer reference while powerplay is disbaled. Signed-off-by: Huang Rui Reviewed-by: Hawking Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_devi

[PATCH] drm/amd/powerplay: disable Vega20 DS related features

2018-11-18 Thread Evan Quan
Disable these features on Vega20 for now. Change-Id: I9e826fca3ed3d8001d1b90787d733ca00edd0f54 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega

[PATCH] drm/amdgpu: w/a hw issues for SDMA1

2018-11-18 Thread Monk Liu
there is a hw issue that disallow us to use strong BURST_WRITE for SDMA0/1 engines, without force BURST_WRITE field set to 0x1 (64B) we will hit h/w bug during stress MMHUB transist Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH xf86-video-ati] Update README for gitlab migration

2018-11-18 Thread Alan Coopersmith
Signed-off-by: Alan Coopersmith --- Unlike the similar updates to the other Xorg project README's, this leaves your bugzilla link in place, as well as the instructions to submit patches to your mailing list instead of suggesting gitlab merge requests. Makefile.am | 2 +- README | 25 -

Re: [PATCH 2/2] drm/atomic: Create and use __drm_atomic_helper_crtc_reset() everywhere

2018-11-18 Thread Rodrigo Siqueira
On 11/12, Maarten Lankhorst wrote: > We already have __drm_atomic_helper_connector_reset() and > __drm_atomic_helper_plane_reset(), extend this to crtc as well. > > Most drivers already have a gpu reset hook, correct it. > Nouveau already implemented its own __drm_atomic_helper_crtc_reset(), > con