[PATCH] drm/amd/pp: Implement force_clock_level for RV

2018-05-08 Thread Rex Zhu
under manual dpm mode, user can set gfx/mem clock through sysfs pp_dpm_sclk/mclk on Rv. Signed-off-by: Rex Zhu --- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 47 ++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git

答复: [BUG] amdgpu: System freezes after resuming from suspend to ram the second time

2018-05-08 Thread Qu, Jim
Hi John, What driver version did you used? Did you try our last release driver? Thanks JimQu 发件人: amd-gfx 代表 John Smith 发送时间: 2018年5月8日 23:17:47 收件人: amd-gfx@lists.freedesktop.org 抄送: Deucher,

Re: 答复: [BUG] amdgpu: System freezes after resuming from suspend to ram the second time

2018-05-08 Thread Alex Deucher
On Tue, May 8, 2018 at 10:51 PM, Qu, Jim wrote: > Hi John, > > What driver version did you used? Did you try our last release driver? Looks like a similar issue to this bug: https://bugs.freedesktop.org/show_bug.cgi?id=105760 Seems to be an issue with Hybrid/PX configurations in

答复: [PATCH] drm/amd/pp: Implement force_clock_level for RV

2018-05-08 Thread Quan, Evan
Reviewed-by: Evan Quan 发件人: amd-gfx 代表 Rex Zhu 发送时间: 2018年5月8日 14:23:35 收件人: amd-gfx@lists.freedesktop.org 抄送: Zhu, Rex 主题: [PATCH] drm/amd/pp: Implement force_clock_level for RV under

[PATCH] drm/amdgpu: add HDP flush dummy for UVD 6/7

2018-05-08 Thread Christian König
The UVD firmware doesn't seem to like the HDP flush here. This worked for years without HDP flush, so just skip it. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 16 ++-- drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 13 -

Re: [PATCH v2] drm/amdgpu: Don't default to DC support for Kaveri and older

2018-05-08 Thread Harry Wentland
On 2018-05-08 11:28 AM, Deucher, Alexander wrote: > You need to include mullins as well.  It's the same feature set as kabini. > Good catch. v3 incoming. > > Alex > > > >

[PATCH v3] drm/amdgpu: Don't default to DC support for Kaveri and older

2018-05-08 Thread Harry Wentland
We've had a number of users report failures to detect and light up display with DC with LVDS and VGA. These connector types are not currently supported with DC. I'd like to add support but unfortunately don't have a system with LVDS or VGA available. In order not to cause regressions we should

Re: [PATCH v2] drm/amdgpu: Don't default to DC support for Kaveri and older

2018-05-08 Thread Deucher, Alexander
You need to include mullins as well. It's the same feature set as kabini. Alex From: amd-gfx on behalf of Harry Wentland Sent: Monday, May 7, 2018 7:24 PM To: amd-gfx@lists.freedesktop.org;

Re: [PATCH] drm/amdgpu: add HDP flush dummy for UVD 6/7

2018-05-08 Thread Deucher, Alexander
Acked-by: Alex Deucher From: amd-gfx on behalf of Christian König Sent: Tuesday, May 8, 2018 6:30:06 AM To: amd-gfx@lists.freedesktop.org Subject: [PATCH]

[PATCH 09/25] drm/amd/display: fix 31_32_fixpt shift functions

2018-05-08 Thread Harry Wentland
From: Dmytro Laktyushkin Signed-off-by: Dmytro Laktyushkin Reviewed-by: Eric Yang Acked-by: Harry Wentland --- .../gpu/drm/amd/display/include/fixed31_32.h | 26 +-- 1 file

[PATCH 07/25] drm/amd/display: underflow/blankscreen recovery

2018-05-08 Thread Harry Wentland
From: Charlene Liu [Description] for any reason, if driver detects HUBP underflow, if a debug option enabled to enable recovery. it will kick in a sequence of recovery. Signed-off-by: Charlene Liu Reviewed-by: Tony Cheng

[PATCH 01/25] drm/amd/display: Cleanup unused SetPlaneConfig

2018-05-08 Thread Harry Wentland
From: Anthony Koo Signed-off-by: Anthony Koo Reviewed-by: Aric Cyr Acked-by: Harry Wentland --- .../display/dc/dce110/dce110_hw_sequencer.c | 69 ---

[PATCH 13/25] drm/amd/display: Log DTN only after the atomic commit in Diag

2018-05-08 Thread Harry Wentland
From: Nikola Cornij Also print HUBP info only if pipe enabled. This fixes having different DTN logs for different test sequences. Signed-off-by: Nikola Cornij Reviewed-by: Tony Cheng Acked-by: Harry Wentland

[PATCH 10/25] drm/amd/display: fix a 32 bit shift meant to be 64 warning

2018-05-08 Thread Harry Wentland
From: Dmytro Laktyushkin Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/include/fixed31_32.h | 2 +- 1 file changed, 1

[PATCH 08/25] drm/amd/display: Update HW sequencer initialization

2018-05-08 Thread Harry Wentland
From: Eric Bernstein Signed-off-by: Eric Bernstein Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 6 +++---

[PATCH 06/25] drm/amd/display: truncate scaling ratios and inits to 19 bit precision

2018-05-08 Thread Harry Wentland
From: Dmytro Laktyushkin Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../gpu/drm/amd/display/dc/core/dc_resource.c | 25 +-- 1 file

[PATCH 03/25] drm/amd/display: inline more of fixed point code

2018-05-08 Thread Harry Wentland
From: Dmytro Laktyushkin Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../drm/amd/display/dc/basics/fixpt31_32.c| 156 ++---

[PATCH 00/25] DC Patches May 8, 2018

2018-05-08 Thread Harry Wentland
* Fix poison EDID read when hotplugging display (Mikita) * Clean up fixed point code Anthony Koo (7): drm/amd/display: Cleanup unused SetPlaneConfig drm/amd/display: Make DisplayStats work with just DC DisplayStats minor drm/amd/display: Fix up dm logging functionality

[PATCH 05/25] drm/amd/display: add fixed point fractional bit truncation function

2018-05-08 Thread Harry Wentland
From: Dmytro Laktyushkin Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../gpu/drm/amd/display/include/fixed31_32.h| 17 + 1 file

[PATCH 12/25] drm/amd/display: disable mpo if brightness adjusted

2018-05-08 Thread Harry Wentland
From: Yue Hin Lau Signed-off-by: Yue Hin Lau Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/dc.h | 1 +

[PATCH 21/25] drm/amd/display: fix bug with index check

2018-05-08 Thread Harry Wentland
From: Anthony Koo Signed-off-by: Anthony Koo Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/modules/stats/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 19/25] drm/amd/display: constify a few dc_surface_update fields

2018-05-08 Thread Harry Wentland
From: Jun Lei Signed-off-by: Jun Lei Reviewed-by: Jun Lei Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/dc.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH 17/25] drm/amd/display: don't create new dc_sink if nothing changed at detection

2018-05-08 Thread Harry Wentland
From: Samson Tam Signed-off-by: Samson Tam Reviewed-by: Aric Cyr Acked-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 95 +++ 1 file changed, 77 insertions(+), 18

[PATCH 04/25] drm/amd/display: Make DisplayStats work with just DC DisplayStats minor

2018-05-08 Thread Harry Wentland
From: Anthony Koo Remove dependency on the old FREESYNC_SW_STATS log mask used by DAL2 Also rename from profiling to displaystats Signed-off-by: Anthony Koo Reviewed-by: Aric Cyr Acked-by: Harry Wentland ---

[PATCH 22/25] drm/amd/display: Clear underflow status for debug purposes

2018-05-08 Thread Harry Wentland
From: Nikola Cornij We want to keep underflow sticky bit on for the longevity tests outside of test environment. For debug purposes it is, however, useful to clear underflow status after the test that caused it so that the following tests are not affected. This change

[PATCH 16/25] drm/amd/display: use macro for logs

2018-05-08 Thread Harry Wentland
From: Anthony Koo Signed-off-by: Anthony Koo Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../amd/display/include/logger_interface.h| 9 + .../gpu/drm/amd/display/modules/stats/stats.c

[PATCH 18/25] drm/amd/display: Only limit VSR downscaling when actually downscaling

2018-05-08 Thread Harry Wentland
From: Xingyue Tao Signed-off-by: Xingyue Tao Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c | 21 +-- 1 file changed, 10 insertions(+), 11

[PATCH 23/25] drm/amd/display: DCN1 link encoder

2018-05-08 Thread Harry Wentland
From: Eric Bernstein Create DCN1 link encoder files and update AUX and HPD register access. Signed-off-by: Eric Bernstein Reviewed-by: Tony Cheng Acked-by: Harry Wentland ---

[PATCH 14/25] drm/amd/display: update dml to allow sync with DV

2018-05-08 Thread Harry Wentland
From: Dmytro Laktyushkin Signed-off-by: Dmytro Laktyushkin Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../amd/display/dc/dml/display_mode_enums.h | 13 +

[PATCH 11/25] drm/amd/display: Add dc cap to restrict VSR downscaling src size

2018-05-08 Thread Harry Wentland
From: Xingyue Tao - Adds int max_downscale_src_width in dc struct - Checks and does not support if downscale size is more than 4k (width > 3840) Signed-off-by: Xingyue Tao Reviewed-by: Charlene Liu Acked-by: Harry Wentland

[PATCH 25/25] drm/amd/display: Clear connector's edid pointer

2018-05-08 Thread Harry Wentland
From: Mikita Lipski Clear connector's edid pointer on coonnector update, when unplugging the display. Fix poison EDID when hotplugging on previously used connector. Signed-off-by: Mikita Lipski Reviewed-by: Harry Wentland

[PATCH 15/25] drm/amd/display: Fix up dm logging functionality

2018-05-08 Thread Harry Wentland
From: Anthony Koo Signed-off-by: Anthony Koo Reviewed-by: Aric Cyr Acked-by: Harry Wentland --- .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 5 .../drm/amd/display/dc/basics/log_helpers.c | 1 -

[PATCH 20/25] drm/amd/display: Add fullscreen transitions to log

2018-05-08 Thread Harry Wentland
From: Anthony Koo Signed-off-by: Anthony Koo Reviewed-by: Aric Cyr Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../drm/amd/display/modules/inc/mod_stats.h | 4 +

[PATCH 24/25] drm/amd/display: fix memory leaks

2018-05-08 Thread Harry Wentland
From: Anthony Koo Signed-off-by: Anthony Koo Reviewed-by: Tony Cheng Acked-by: Harry Wentland --- .../gpu/drm/amd/display/modules/stats/stats.c | 24 --- 1 file changed, 16 insertions(+), 8

[BUG] amdgpu: System freezes after resuming from suspend to ram the second time

2018-05-08 Thread John Smith
The amdgpu driver freezes the kernel, when suspending for the second time. When blacklisting amdgpu the suspend/resume works correctly. Please see the attached logs. Hardware: hp-zbook 15u 5g i7-8550 $ uname -a Linux MYPCNAME 4.17.0-rc3-ARCH+ #1 SMP PREEMPT Sun May 6 09:50:29 CEST 2018 x86_64

Re: amdgpu hangs on boot or shutdown on AMD Raven Ridge CPU (Engineer Sample)

2018-05-08 Thread Daniel Drake
WHi Alex, On Thu, Apr 19, 2018 at 4:13 PM, Alex Deucher wrote: https://bugs.freedesktop.org/show_bug.cgi?id=105684 >>> >>> No progress made on that bug report so far. >>> What can we do to help this advance? >> >> Ping, any news here? How can we help advance on this

Re: [PATCH v3] drm/amdgpu: Don't default to DC support for Kaveri and older

2018-05-08 Thread Deucher, Alexander
Reviewed-by: Alex Deucher From: amd-gfx on behalf of Harry Wentland Sent: Tuesday, May 8, 2018 11:33:42 AM To: amd-gfx@lists.freedesktop.org; Deucher, Alexander Cc: