Re: [PATCH 1/2] drm/amdgpu: Add comment to function amdgpu_ttm_alloc_gart

2020-09-13 Thread Christian König
Reviewed-by: Christian König for the series. Am 11.09.20 um 20:25 schrieb Oak Zeng: Add comments to refect what function does Signed-off-by: Oak Zeng --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/am

[PATCH] drm/amdgpu: drop BOOLEAN define in display part

2020-09-13 Thread Flora Cui
use bool directly Signed-off-by: Flora Cui --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 2 +- drivers/gpu/drm/amd/display/dc/dm_pp_smu.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu

Re: Power-saving/performance toggles for amdgpu

2020-09-13 Thread Alex Deucher
On Mon, Sep 7, 2020 at 10:30 AM Bastien Nocera wrote: > > Hey, > > I'm currently working on a daemon that allows a UI that will eventually > look like the power mode section in this mockup: > https://gitlab.gnome.org/Teams/Design/settings-mockups/-/blob/master/power/power.png > > The daemon: > htt

[PATCH] drm/amd/display: add debugfs entry for trigger_hotplug

2020-09-13 Thread Jason Yan
The 'trigger_hotplug' entry in debugfs is defined but not wired up. This causes a gcc warning build with W=1. drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:2045:37: warning: ‘dp_trigger_hotplug_debugfs_fops’ defined but not used [-Wunused-const-variable=] 2045 | static const

first bad commit: [fc8c70526bd30733ea8667adb8b8ffebea30a8ed] drm/radeon: Prefer lower feedback dividers

2020-09-13 Thread Borislav Petkov
Hi, this patch breaks X on my box - it is fully responsive and I can log in into it from another machine but both monitors are black and show this: "The current input timing is not supported by the monitor display. Please change your input timing to 1920x1200@60Hz or any other monitor listed ti

Re: [PATCH] drm/amdgpu: Workaround RCC_DEV0_EPF0_STRAP0 access issue for SRIOV

2020-09-13 Thread Alex Deucher
On Fri, Sep 11, 2020 at 6:03 PM Rohit Khaire wrote: > > Signed-off-by: Rohit Khaire > --- > drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c > b/drivers/gpu/drm/amd/amdgpu/nbio_v

[PATCH] amdgpu/gmc_v9: Warn if SDPIF_MMIO_CNTRL_0 is not set

2020-09-13 Thread Shirish S
With IOMMU enabled, if SDPIF_MMIO_CNTRL_0 is not set appropriately the system hangs without any trace during S3. To ease debug and to ensure that the failure, if any, was caused by a race conditions that disabled write access to SDPIF_MMIO_CNTRL_0 register, warn the user about it. Signed-off-by:

kernel NULL pointer dereference with dce_aux_transfer_raw

2020-09-13 Thread Ernst Sjöstrand
Hi, first I had some enabling link 2 failed: 15 after DPMS, but then I got a NULL pointer dereference later. I'm running 5.8.8 + "Require primary plane to be enabled whenever the CRTC is" 2x 4K DisplayPort monitors. Gnome Wayland desktop, Ubuntu 20.10. sep 14 00:22:01 mammut kernel: