RE: [PATCH] drm/amd/powerplay: fix a crash when overclocking Vega M

2020-07-17 Thread Quan, Evan
[AMD Official Use Only - Internal Distribution Only] Reviewed-by: Evan Quan -Original Message- From: Qiu Wenbo Sent: Friday, July 17, 2020 3:10 PM To: Quan, Evan ; amd-gfx@lists.freedesktop.org Cc: Qiu Wenbo ; Deucher, Alexander ; Koenig, Christian ; Zhou, David(ChunMing) ; David

Re: [PATCH 2/2] drm/amdgpu/vcn: merge shared memory into vcpu

2020-07-17 Thread James Zhu
Ping ... On 2020-07-16 9:14 a.m., James Zhu wrote: Merge vcn firmware shared memory bo into vcn vcpu bo. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 18 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 1 - 2 files changed, 6 insertions(+), 13

[pull] amdgpu, amdkfd drm-next-5.9

2020-07-17 Thread Alex Deucher
Hi Dave, Daniel, More stuff for 5.9. The following changes since commit 9555152beb1143c85c03f9b9de59863cbbe89f4b: Merge tag 'amd-drm-next-5.9-2020-07-01' of git://people.freedesktop.org/~agd5f/linux into drm-next (2020-07-02 15:17:31 +1000) are available in the Git repository at:

[PATCH] drm/amd/powerplay: fix a crash when overclocking Vega M

2020-07-17 Thread Qiu Wenbo
Avoid kernel crash when vddci_control is SMU7_VOLTAGE_CONTROL_NONE and vddci_voltage_table is empty. It has been tested on Intel Hades Canyon (i7-8809G). Bug: https://bugzilla.kernel.org/show_bug.cgi?id=208489 Fixes: ac7822b0026f ("drm/amd/powerplay: add smumgr support for VEGAM (v2)")

RE: [PATCH 1/2] Revert "drm/amdgpu/vcn: add shared memory restore after wake up from sleep."

2020-07-17 Thread Liu, Leo
The series are: Reviewed-by: Leo Liu -Original Message- From: amd-gfx On Behalf Of James Zhu Sent: July 16, 2020 9:15 AM To: amd-gfx@lists.freedesktop.org Cc: Zhu, James Subject: [PATCH 1/2] Revert "drm/amdgpu/vcn: add shared memory restore after wake up from sleep." This reverts

[PATCH 04/12] drm/amd/display: Decouple ABM init from dmcu

2020-07-17 Thread Qingqing Zhuo
From: Roman Li [Why] With ABM implemented on DMUB the ABM enablement shoudn't be solely rely on dmcu. Otherwise it won't work if dmcu is disabled. [How] 1. Decouple dmcub config copy from dmcu iram copy. 2. Set abm connector property if either dmcu or dmub enabled. Signed-off-by: Roman Li

[PATCH 02/12] drm/amd/display: Add DSC parameters logging to debugfs

2020-07-17 Thread Qingqing Zhuo
From: Eryk Brol [why] Need to add new parameters to debugfs logging so we will know what parameters DSC is using for debug purposes. So we are adding a read function in debugfs to read DSC status registers Signed-off-by: Eryk Brol Reviewed-by: Mikita Lipski Acked-by: Qingqing Zhuo ---

[PATCH 11/12] drm/amd/display: interface to obtain minimum plane size caps

2020-07-17 Thread Qingqing Zhuo
From: Igor Kravchenko [Why] Implement an interface to obtain plane size caps [How] Add min_width, min_height fields to dc_plane_cap structure. Set values to 16x16 for discrete ASICs, and 64x64 for others. Signed-off-by: Igor Kravchenko Reviewed-by: Aric Cyr Acked-by: Qingqing Zhuo ---

[PATCH 03/12] drm/amd/display: Implement AMD VSIF V3

2020-07-17 Thread Qingqing Zhuo
From: Reza Amini [Why] To support V3 [How] Generate new VSIF for V3 Signed-off-by: Reza Amini Reviewed-by: Anthony Koo Acked-by: Qingqing Zhuo --- .../gpu/drm/amd/display/dc/core/dc_stream.c | 19 + drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 7

[PATCH 12/12] drm/amd/display: 3.2.95

2020-07-17 Thread Qingqing Zhuo
From: Aric Cyr Signed-off-by: Aric Cyr Reviewed-by: Aric Cyr Acked-by: Qingqing Zhuo --- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index

[PATCH 06/12] drm/amd/display: Make new dc interface for adding dsc resource

2020-07-17 Thread Qingqing Zhuo
From: Aurabindo Pillai [Why] dcn20_add_dsc_to_stream_resource is accessed in amdgpu_dm directly. This creates build error for configuration with DCN disabled. [How] Make the function available through a resource pool function so that dcn20 function need not be called directly. Signed-off-by:

[PATCH 01/12] drm/amd/display: remove unhelpful 5ms delay

2020-07-17 Thread Qingqing Zhuo
From: Aric Cyr [Why] Scaler vendor confirmed the 5ms was not helpful so no point in keeping it. [How] Revert 5ms delay after setting training pattern. Signed-off-by: Aric Cyr Reviewed-by: Ashley Thomas Acked-by: Qingqing Zhuo --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 4 1

[PATCH 07/12] drm/amd/display: [FW Promotion] Release 0.0.25

2020-07-17 Thread Qingqing Zhuo
From: Anthony Koo Signed-off-by: Anthony Koo Reviewed-by: Anthony Koo Acked-by: Qingqing Zhuo --- drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h

[PATCH 00/12] DC Patches July 20, 2020

2020-07-17 Thread Qingqing Zhuo
This DC patchset brings improvements in multiple areas. In summary, we highlight: * Fixed compilation issue under allconfig; * Enhancements in DSC, ABM, etc.; * Implemented VSIF V3. Anthony Koo (1): drm/amd/display: [FW Promotion] Release 0.0.25 Aric Cyr (2): drm/amd/display: remove

[PATCH 05/12] drm/amd/display: rename dsc extended caps as dsc branch decoder caps

2020-07-17 Thread Qingqing Zhuo
From: Wenjing Liu [why] The capability fields are reserved for DSC branch only to report the capability related to the branch's DSC decoder. Signed-off-by: Wenjing Liu Reviewed-by: Tony Cheng Acked-by: Qingqing Zhuo --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-

[PATCH 09/12] drm/amd/display: Call dsc related functions indirectly via dc interface

2020-07-17 Thread Qingqing Zhuo
From: Aurabindo Pillai [Why] Accessing dcn20_add_dsc_to_stream_resource directly causes build failure for configuration which has CONFIG_DRM_AMD_DC_DCN disabled. Fix this by calling the corresponding function exposed via dc resource functions. Signed-off-by: Aurabindo Pillai Reviewed-by:

[PATCH 10/12] drm/amd/display: Add additional config guards for DCN

2020-07-17 Thread Qingqing Zhuo
From: Aurabindo Pillai [Why] Fix build error by protecting code with config guard to enable building amdgpu without CONFIG_DRM_AMD_DC_DCN enabled. This option is disabled by default for allmodconfig. Signed-off-by: Aurabindo Pillai Reviewed-by: Nicholas Kazlauskas Acked-by: Qingqing Zhuo

[PATCH 08/12] drm/amd/display: Improve compatibility by re-ordering info-packets

2020-07-17 Thread Qingqing Zhuo
From: Naveed Ashfaq [why] On DCN20, Some features would not be activated when ALLM was turned on. TV seemed to activate only the latest info packet sent, and the ALLM info packet was sent after the VSIF info packet. The packet indices was also inconsistent between DCN10 and DCN20. [how] Change