[PATCH] drm/amd/pp: Add error handling when smu return failed on Vega10.

2018-02-10 Thread Rex Zhu
Change-Id: I98032904fbb67db1d6b8a37842b340a5be339001 Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 35 -- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd

mmDPREFCLK_CNTL, max_clks_by_state missing for dce60

2018-02-10 Thread sylvain . bertrand
Hi, In my attempt to add the code for dce6 in dc (I base myself on dce80 code), it seems I miss the mmDPREFCLK_CNTL (dc/dce/dce_clocks.h) register description for dce60. I have mmDENTIST_DISPCLK_CNTL though. I miss too the "max_clks_by_state" per power state limits (dc/dce/dce_clocks.c) for dce60

Re: [PATCH] amdgpu/dc: Remove unnecessary initialization in dc_link_handle_hpd_rx_irq()

2018-02-10 Thread Guenter Roeck
On Fri, Feb 9, 2018 at 3:12 PM, Matthias Kaehlcke wrote: > The initialization of 'result' is unnecessary, the variable is assigned > unconditionally a few lines below. Removing the initialization also fixes > the following warning when building with clang: > > drivers/gpu/drm/amd/amdgpu/../display