Re: [PATCH v2 9/9] drm/amdgpu: Enable devcoredump for JPEG2_5_0

2025-01-29 Thread Leo Liu
Looks pretty good to me. One question that why this is not added to JPEG 5_0_0? Since the patch 3-9 cover the rest of versions, they are: Reviewed-by: Leo Liu On 1/29/25 03:46, Sathishkumar S wrote: Add register list and enable devcoredump for JPEG2_5_0 V2: (Lijo) - remove version specific

Re: [PATCH v2 1/9] drm/amdgpu: Add a func for core specific reg offset

2025-01-29 Thread Leo Liu
This patch is: Reviewed-by: Leo Liu On 1/29/25 03:46, Sathishkumar S wrote: Add an inline function to calculate core specific register offsets for JPEG v4.0.3 and reuse it, makes code more readable and easier to align. Signed-off-by: Sathishkumar S --- drivers/gpu/drm/amd/amdgpu

Re: [PATCH v4 4/4] drm/amd/amdgpu/vcn: Add RB decouple feature under SRIOV - P4

2023-10-16 Thread Leo Liu
The set looks good to me. The series is: Reviewed-by: Leo Liu On 2023-10-16 12:54, Bokun Zhang wrote: - In VCN 4 SRIOV code path, add code to enable RB decouple feature Signed-off-by: Bokun Zhang --- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 71 +-- 1 file changed

Re: [PATCH v4 1/7] drm/amdgpu/vcn: Add MMSCH v4_0_3 support for sriov

2023-08-08 Thread Leo Liu
The series is: Acked-by: Leo Liu . On 2023-08-08 12:26, Samir Dhume wrote: The structures are the same as v4_0 except for the init header Signed-off-by: Samir Dhume --- drivers/gpu/drm/amd/amdgpu/mmsch_v4_0_3.h | 37 +++ 1 file changed, 37 insertions

Re: [PATCH v3 3/7] drm/amdgpu/vcn: sriov support for vcn_v4_0_3

2023-08-08 Thread Leo Liu
On 2023-07-28 15:15, Samir Dhume wrote: initialization table handshake with mmsch Signed-off-by: Samir Dhume --- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 257 +--- 1 file changed, 233 insertions(+), 24 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c

Re: [PATCH] drm/amdgpu: Enabling FW workaround through shared memory for VCN4_0_2

2023-07-18 Thread Leo Liu
Reviewed-by: Leo Liu On 2023-07-17 23:20, sguttula wrote: This patch will enable VCN FW workaround using DRM KEY INJECT WORKAROUND method, which is helping in fixing the secure playback. Signed-off-by: sguttula --- Changes in v2: -updated commit message as per veera's feedback Chang

Re: [PATCH] drm/amdgpu: allow secure submission on VCN4 ring

2023-07-18 Thread Leo Liu
Reviewed-by: Leo Liu On 2023-07-17 13:27, sguttula wrote: This patch will enable secure decode playback on VCN4_0_2 Signed-off-by: sguttula --- Changes in v2: -updated commit message only enabling for VCN402 -updated the logic as per Leo's feedback --- drivers/gpu/drm/amd/amdgpu/vcn

Re: [PATCH 1/2] drm/amdgpu: allow secure submission on VCN4 ring

2023-07-17 Thread Leo Liu
Since the changes will affect multiple ASICs, if you only tested with VCN4_0_4, please just apply the set to that HW. Regards, Leo On 2023-07-16 23:15, Guttula, Suresh wrote: Hi Leo, There are two issues here. This change fixing the Crash while secure playback and we see below error: 2023

Re: [PATCH 1/2] drm/amdgpu: allow secure submission on VCN4 ring

2023-07-14 Thread Leo Liu
On 2023-07-14 05:44, sguttula wrote: This patch will enable secure decode playback on VCN4 Signed-off-by: sguttula --- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c in

Re: [PATCH v3 2/2] drm/amdgpu: update kernel vcn ring test

2023-07-10 Thread Leo Liu
, Veerabadhran (Veera) ; Sundararaju, Sathishkumar Cc: Koenig, Christian ; Rao, Srinath Subject: [PATCH v3 2/2] drm/amdgpu: update kernel vcn ring test add session context buffer to decoder ring test fro vcn v1 to v3. v3 - correct the cmd for sesssion ctx buf v2 - add the buffer into IB (Leo liu) Signed

Re: [PATCH 2/2] drm/amdgpu: use psp_execute_load_ip_fw_cmd_buf instead

2023-07-05 Thread Leo Liu
It looks good to me. The series is: Reviewed-by: Leo Liu On 2023-06-27 00:48, Lang Yu wrote: Replace the old ones with psp_execute_load_ip_fw_cmd_buf. Signed-off-by: Lang Yu --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 31 - drivers/gpu/drm/amd/amdgpu

Re: [PATCH] drm/amdgpu: Clear VCN cache when hw_init

2023-07-05 Thread Leo Liu
What Christian says is correct, esp. during the playback or encode, when suspend/resume happens, it will save the FW context, and after resume, it will continue the job to where it left during the suspend. Will this apply to SRIOV case? Since the changes only within the SRIOV code, please make

Re: [PATCH] drm/amdgpu/vcn: Need to unpause dpg before stop dpg

2023-06-22 Thread Leo Liu
Reviewed-by: Leo Liu On 2023-06-20 21:29, Emily Deng wrote: Need to unpause dpg first, or it will hit follow error during stop dpg: "[drm] Register(1) [regUVD_POWER_STATUS] failed to reach value 0x0001 != 0xn" Signed-off-by: Emily Deng --- drivers/gpu/drm/amd/amdgpu/

[PATCH] drm/amdgpu: Use the sched from entity for amdgpu_cs trace

2023-01-16 Thread Leo Liu
.. 129.421993: amdgpu_cs: bo_list=92ffdb4c3400, ring=0, dw=48, fences=0 Fixes: 4624459c84d7 ("drm/amdgpu: add gang submit frontend v6") Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d

Re: [bug][vaapi][h264] The commit 7cbe08a930a132d84b4cf79953b00b074ec7a2a7 on certain video files leads to problems with VAAPI hardware decoding.

2022-12-09 Thread Leo Liu
Please try the latest AMDGPU driver: https://gitlab.freedesktop.org/agd5f/linux/-/commits/amd-staging-drm-next/ On 2022-12-07 15:54, Alex Deucher wrote: + Leo, Thong On Wed, Dec 7, 2022 at 3:43 PM Mikhail Gavrilov wrote: On Wed, Dec 7, 2022 at 7:58 PM Alex Deucher wrote: What GPU do you h

[PATCH] drm/amdgpu: enable Vangogh VCN indirect sram mode

2022-11-29 Thread Leo Liu
So that uses PSP to initialize HW. Fixes: 0c2c02b6 (drm/amdgpu/vcn: add firmware support for dimgrey_cavefish) Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm

Re: [PATCH] drm/amdgpu/vcn: update vcn4 fw shared data structure

2022-09-23 Thread Leo Liu
Reviewed-by: Leo Liu On 2022-09-22 15:30, Ruijing Dong wrote: update VF_RB_SETUP_FLAG, add SMU_DPM_INTERFACE_FLAG, and corresponding change in VCN4. Signed-off-by: Ruijing Dong --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 8 +++- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 4 2

Re: [PATCH v4] drm/amdgpu: add HW_IP_VCN_UNIFIED type

2022-07-18 Thread Leo Liu
On 2022-07-18 02:57, Christian König wrote: Am 15.07.22 um 22:04 schrieb Ruijing Dong:  From VCN4, AMDGPU_HW_IP_VCN_UNIFIED is used to support both encoding and decoding jobs, it re-uses the same queue number of AMDGPU_HW_IP_VCN_ENC. link: https://gitlab.freedesktop.org/mesa/drm/-/merge_requ

Re: [PATCH 2/2] drm/amdgpu/vcn: support unified queue only in vcn4

2022-06-11 Thread Leo Liu
The series are: Acked-by: Leo Liu On 2022-06-07 14:36, Ruijing Dong wrote: - remove multiple queue support. - add unified queue related functions. Signed-off-by: Ruijing Dong --- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 563 +++--- 1 file changed, 140 insertions

Re: [PATCH V3] drm/amdgpu/vcn3: send smu interface type

2022-03-30 Thread Leo Liu
Reviewed-by: Leo Liu On 2022-03-30 20:59, boyuan.zh...@amd.com wrote: From: Boyuan Zhang For VCN FW to detect ASIC type, in order to use different mailbox registers. V2: simplify codes and fix format issue. V3: re-order if/else condition from the smallest version. Signed-off-by: Boyuan

Re: [PATCH v2] drm/amdgpu: add workarounds for Raven VCN TMZ issue

2022-03-10 Thread Leo Liu
stian. Am 10.03.22 um 09:45 schrieb Lang Yu: Ping. On 03/08/ , Leo Liu wrote: On 2022-03-08 11:18, Leo Liu wrote: On 2022-03-08 04:16, Christian König wrote: Am 08.03.22 um 09:06 schrieb Lang Yu: On 03/08/ , Christian König wrote: Am 08.03.22 um 08:33 schrieb Lang Yu: On 03/08/ , Christian

Re: [PATCH v2] drm/amdgpu: add workarounds for Raven VCN TMZ issue

2022-03-08 Thread Leo Liu
On 2022-03-08 11:18, Leo Liu wrote: On 2022-03-08 04:16, Christian König wrote: Am 08.03.22 um 09:06 schrieb Lang Yu: On 03/08/ , Christian König wrote: Am 08.03.22 um 08:33 schrieb Lang Yu: On 03/08/ , Christian König wrote: Am 08.03.22 um 04:39 schrieb Lang Yu: It is a hardware issue

Re: [PATCH v2] drm/amdgpu: add workarounds for Raven VCN TMZ issue

2022-03-08 Thread Leo Liu
On 2022-03-08 04:16, Christian König wrote: Am 08.03.22 um 09:06 schrieb Lang Yu: On 03/08/ , Christian König wrote: Am 08.03.22 um 08:33 schrieb Lang Yu: On 03/08/ , Christian König wrote: Am 08.03.22 um 04:39 schrieb Lang Yu: It is a hardware issue that VCN can't handle a GTT backing sto

Re: [PATCH] drm/radeon: fix UVD suspend error

2022-01-17 Thread Leo Liu
sonable to me. The suspend sends the destroy message if there is still incomplete job, so it should be before the fini which stops the hardware. The series are: Reviewed-by: Leo Liu Signed-off-by: Qiang Ma --- drivers/gpu/drm/radeon/cik.c | 2 +- drivers/gpu/drm/radeon/evergreen.

Re: [PATCH 4/4] drm/amdgpu/vcn3.0: remove intermediate variable

2021-10-21 Thread Leo Liu
The series are: Reviewed-by: Leo Liu On 2021-10-19 4:10 p.m., Alex Deucher wrote: No need to use the id variable, just use the constant plus instance offset directly. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 11 ++- 1 file changed, 2 insertions

Re: [PATCH 1/2] drm/amdgpu/jpeg2: move jpeg2 shared macro to header file

2021-09-30 Thread Leo Liu
The series are: Reviewed-by: Leo Liu On 2021-09-29 3:57 p.m., James Zhu wrote: Move jpeg2 shared macro to header file Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 20 drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.h | 20 2 files

Re: [PATCH v2] drm/amd/amdgpu: Recovery vcn instance iterate.

2021-07-20 Thread Leo Liu
It looks good to me for the non-sriov part. Regards, Leo On 2021-07-15 10:14 p.m., Zhou, Peng Ju wrote: [AMD Official Use Only] Hi @Liu, Leo Can you help to review this patch? Monk and Alex have reviewed it. -- BW Pengju

Re: [PATCH] drm/amdgpu: Fix Gstreamer api vaapih264enc missing

2021-05-27 Thread Leo Liu
On 2021-05-26 6:49 a.m., Christian König wrote: Am 26.05.21 um 12:13 schrieb Li, Xin (Justin): since vcn decoding ring is not required, so just disable it. Cc: Alex.Deucher Cc: Christian.Konig Signed-off-by: Li.Xin.Justin Signed-off-by: Frank.Min ---   drivers/gpu/drm/amd/amdgpu/amdgpu_kms

Re: [PATCH 1/7] drm/amdgpu/vcn1: add cancel_delayed_work_sync before power gate

2021-05-20 Thread Leo Liu
The series are: Reviewed-by: Leo Liu On 2021-05-19 12:22 p.m., James Zhu wrote: Add cancel_delayed_work_sync before set power gating state to avoid race condition issue when power gating. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 6 +- 1 file changed, 5

Re: [PATCH] drm/amdgpu: add video_codecs query support for aldebaran

2021-05-18 Thread Leo Liu
Reviewed-by: Leo Liu On 2021-05-18 8:47 a.m., James Zhu wrote: Add video_codecs query support for aldebaran. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/soc15.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu

Re: [PATCH] drm/amdgpu: add cancel_delayed_work_sync before power gate

2021-05-18 Thread Leo Liu
Reviewed-by: Leo Liu On 2021-05-17 4:42 p.m., James Zhu wrote: Add cancel_delayed_work_sync before set power gating state to avoid race condition issue when power gating. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 19 +-- 1 file changed, 13

Re: [PATCH v2 1/2] drm/amdgpu: enhance amdgpu_vcn_suspend

2021-05-17 Thread Leo Liu
To be accurate, the Bo is mapped to engine cache window, and the runtime of engine stacks, so we should save it before the poweroff. On 2021-05-17 2:15 p.m., Leo Liu wrote: The saved data are from the engine cache, it's the runtime of engine before suspend, it might be different afte

Re: [PATCH v2 1/2] drm/amdgpu: enhance amdgpu_vcn_suspend

2021-05-17 Thread Leo Liu
;vcn.idle_work); 3. SOC15_WAIT_ON_RREG(VCN, inst_idx, mmUVD_POWER_STATUS, 1,     UVD_POWER_STATUS__UVD_POWER_STATUS_MASK); 4. amdgpu_device_ip_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_VCN,   AMD_PG_STATE_GATE); 5.  saved_bo Best Regards! James On 2021-05-17 1:43 p.m., Leo Liu wrote: On 2021-05-17 12:54 p.m., James Zhu wrote:

Re: [PATCH v2 1/2] drm/amdgpu: enhance amdgpu_vcn_suspend

2021-05-17 Thread Leo Liu
ATUS, 1,     UVD_POWER_STATUS__UVD_POWER_STATUS_MASK); 4. amdgpu_device_ip_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_VCN,   AMD_PG_STATE_GATE); 5.  saved_bo Best Regards! James On 2021-05-17 1:43 p.m., Leo Liu wrote: On 2021-05-17 12:54 p.m., James Zhu wrote: I am wondering if there are still

Re: [PATCH v2 1/2] drm/amdgpu: enhance amdgpu_vcn_suspend

2021-05-17 Thread Leo Liu
force powering gate the vcn hw after certain time waiting. Yep, we still need to gate VCN power after certain timeout. Regards, Leo Best Regards! James On 2021-05-17 12:34 p.m., Leo Liu wrote: On 2021-05-17 11:52 a.m., James Zhu wrote: During vcn suspends, stop ring continue to receiv

Re: [PATCH v2 1/2] drm/amdgpu: enhance amdgpu_vcn_suspend

2021-05-17 Thread Leo Liu
On 2021-05-17 11:52 a.m., James Zhu wrote: During vcn suspends, stop ring continue to receive new requests, and try to wait for all vcn jobs to finish gracefully. v2: Forced powering gate vcn hardware after few wainting retry. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_v

Re: [PATCH] drm/amdgpu: update vcn1.0 Non-DPG suspend sequence

2021-05-05 Thread Leo Liu
Reviewed-by: Leo Liu On 2021-05-04 11:10 a.m., Sathishkumar S wrote: update suspend register settings in Non-DPG mode. Signed-off-by: Sathishkumar S --- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm

Re: [PATCH] drm/amdgpu: Init GFX10_ADDR_CONFIG for VCN v3 in DPG mode.

2021-05-05 Thread Leo Liu
On 2021-05-05 2:17 p.m., Alex Deucher wrote: Applied. Thanks! Do we need a similar fix for other VCN variants? VCN3 is the only one missing that. Regards, Leo Alex On Tue, May 4, 2021 at 10:14 PM Leo Liu wrote: Reviewed-and-Tested by: Leo Liu On 2021-05-04 9:27 p.m., Bas

Re: [PATCH] drm/amdgpu: Init GFX10_ADDR_CONFIG for VCN v3 in DPG mode.

2021-05-04 Thread Leo Liu
Reviewed-and-Tested by: Leo Liu On 2021-05-04 9:27 p.m., Bas Nieuwenhuizen wrote: Otherwise tiling modes that require the values form this field (In particular _*_X) would be corrupted upon video decode. Copied from the VCN v2 code. Fixes: 99541f392b4d ("drm/amdgpu: add mc resume DPG

Re: [PATCH 1/3] drm/amdgpu: make sure we unpin the UVD BO

2021-04-16 Thread Leo Liu
Acked-by: Leo Liu On 2021-04-16 8:54 a.m., Christian König wrote: Ping? Am 15.04.21 um 10:47 schrieb Christian König: Releasing pinned BOs is illegal now. Signed-off-by: Christian König ---   drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 1 +   1 file changed, 1 insertion(+) diff --git a/drivers

Re: [BUG] VAAPI encoder cause kernel panic if encoded video in 4K

2021-04-13 Thread Leo Liu
On 2021-04-13 5:24 p.m., Mikhail Gavrilov wrote: On Tue, 13 Apr 2021 at 04:55, Leo Liu wrote: It curious why ffmpeg does not cause such issues. For example such command not cause kernel panic: $ ffmpeg -f x11grab -framerate 60 -video_size 3840x2160 -i :0.0 -vf 'format=nv12,hwu

Re: [BUG] VAAPI encoder cause kernel panic if encoded video in 4K

2021-04-12 Thread Leo Liu
It curious why ffmpeg does not cause such issues. For example such command not cause kernel panic: $ ffmpeg -f x11grab -framerate 60 -video_size 3840x2160 -i :0.0 -vf 'format=nv12,hwupload' -vaapi_device /dev/dri/renderD128 -vcodec h264_vaapi output3.mp4 What command are you using to see the iss

[ANNOUNCE] libdrm 2.4.105

2021-04-07 Thread Leo Liu
meson: Also search for rst2man.py James Zhu (1): tests/amdgpu: add vcn test support for dimgrey_cavefish Jinzhou Su (1): test/amdgpu: remove static varible in Syncobj test Lang Yu (2): drm/tests/amdgpu: fix Metadata test failed issue tests/amdgpu: fix bo eviction test

Re: [PATCH 3/3] drm/amdgpu: share scheduler score on VCN3 instances

2021-02-04 Thread Leo Liu
The series are: Reviewed-and-Tested-by: Leo Liu On 2021-02-04 9:44 a.m., Christian König wrote: The VCN3 instances can do both decode as well as encode. Share the scheduler load balancing score and remove fixing encode to only the second instance. Signed-off-by: Christian König

Re: [PATCH 2/2] drm/amd/amdgpu: Use IP discovery data to determine VCN enablement instead of MMSCH

2021-01-07 Thread Leo Liu
On 2021-01-05 5:54 p.m., Bokun Zhang wrote: In the past, we use MMSCH to determine whether a VCN is enabled or not. This is not reliable since after a FLR, MMSCH may report junk data. It is better to use IP discovery data. Change-Id: I8b6c32c34017b20dcaebffdaa78bb07178e9d03c Signed-off-by: Bo

Re: [PATCH v2] drm/amdgpu: fix SI UVD firmware validate resume fail

2020-11-16 Thread Leo Liu
Reviewed-by: Leo Liu On 2020-11-13 5:33 p.m., Jiang, Sonny wrote: [AMD Official Use Only - Internal Distribution Only] [AMD Official Use Only - Internal Distribution Only] Ping. *From:* Jiang, Sonny *Sent:* Monday

Re: [PATCH] amd/amdgpu: Disable VCN DPG mode for Picasso

2020-10-30 Thread Leo Liu
Reviewed-by: Leo Liu On 2020-10-30 1:10 p.m., veerabadhran.gopalakrish...@amd.com wrote: From: Veerabadhran Gopalakrishnan Concurrent operation of VCN and JPEG decoder in DPG mode is causing ring timeout due to power state. Signed-off-by: Veerabadhran Gopalakrishnan --- drivers/gpu/drm

Re: [PATCH 1/1] drm/amdgpu: disable gpu-sched load balance for uvd

2020-08-31 Thread Leo Liu
On 2020-08-31 5:53 p.m., Alex Deucher wrote: On Mon, Aug 31, 2020 at 5:50 PM Leo Liu wrote: On 2020-08-31 1:39 p.m., Alex Deucher wrote: On Mon, Aug 31, 2020 at 10:55 AM Nirmoy wrote: Hi Alex, On 8/31/20 4:17 PM, Alex Deucher wrote: On Mon, Aug 31, 2020 at 6:41 AM Nirmoy Das wrote

Re: [PATCH 1/1] drm/amdgpu: disable gpu-sched load balance for uvd

2020-08-31 Thread Leo Liu
load balancer for a context which binds jobs from same the context to a udv instance. typos: udv -> uvd With that fixed: Reviewed-by: Alex Deucher Does VCE need a similar fix? What about UVD_ENC? I am not sure, can you please confirm this. @Leo Liu can you confirm? Vega20 have 2 UVDs a

[PATCH] drm/amdgpu/jpeg: remove redundant check when it returns

2020-08-14 Thread Leo Liu
Fix warning from kernel test robot v2: remove the local variable as well Signed-off-by: Leo Liu Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c b/drivers/gpu

[PATCH] drm/amdgpu/jpeg: remove redundant check when it returns

2020-08-13 Thread Leo Liu
Fix warning from kernel test robot Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c b/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c index c41e5590a701..f4ba423af051 100644 --- a/drivers/gpu

Re: [PATCH 5/5] drm/amd/sriov skip vcn powergating and dec_ring_test

2020-07-14 Thread Leo Liu
On 2020-07-13 10:47 p.m., Jack Zhang wrote: 1.Skip decode_ring test in VF, because VCN in SRIOV does not support direct register read/write. 2.Skip powergating configuration in hw fini because VCN3.0 SRIOV doesn't support powergating. Signed-off-by: Jack Zhang --- drivers/gpu/drm/amd/amdgp

Re: [PATCH 4/5] drm/amd/sriov porting sriov cap to vcn3.0

2020-07-14 Thread Leo Liu
This patch is: Reviewed-by: Leo Liu On 2020-07-13 10:47 p.m., Jack Zhang wrote: 1.In early_init and for sriov, hardcode harvest_config=0, enc_num=1 2.sw_init/fini alloc & free mm_table for sriov doorbell setting for sriov 3.hw_init/fini Under sriov, add start_sriov to co

Re: [PATCH] drm/amdgpu/jpeg: fix race condition issue for jpeg start

2020-06-11 Thread Leo Liu
Reviewed-by: Leo Liu On 2020-06-10 12:36 p.m., James Zhu wrote: Fix race condition issue when multiple jpeg starts are called. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 16 drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | 2 ++ 2 files changed

Re: [PATCH] drm/amdgpu/vcn2.5: wait for tiles off after unpause

2020-04-28 Thread Leo Liu
Reviewed-by: Leo Liu On 2020-04-27 4:05 p.m., James Zhu wrote: Wait for tiles off after unpause to fix transcode timeout issue. It is a work around. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

Re: [PATCH 3/5] drm/amdgpu/vcn: Add firmware share memory support

2020-03-30 Thread Leo Liu
N_MULTI_QUEUE_FLAG(1 << 8) + +enum fw_queue_mode { + fw_queue_ring_reset = 1, + fw_queue_dpg_hold_off = 2, +}; Please move the define and enum to the top as others. With that fixed, the series are Reviewed-by: Leo Liu + +struct amdgpu_fw_shared_multi_queue { +

Re: [PATCH v2 4/4] drm/amdgpu/vcn2.5: add sync when WPTR/RPTR reset

2020-03-10 Thread Leo Liu
r? With that fixed, this patch is Reviewed-by: Leo Liu Leo /* Restore */ ring = &adev->vcn.inst[inst_idx].ring_enc[0]; + ring->wptr = 0; WREG32_SOC15(UVD, inst

Re: [enable VCN2.0 for NV12 SRIOV 6/6] drm/amdgpu: clear warning on unused var

2020-03-05 Thread Leo Liu
Is this warning introduced by your patch 4? On 2020-03-05 8:33 a.m., Monk Liu wrote: Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c ind

Re: [enable VCN2.0 for NV12 SRIOV 5/6] drm/amdgpu: disable clock/power gating for SRIOV

2020-03-05 Thread Leo Liu
This patch is: Acked-by: Leo Liu On 2020-03-05 8:33 a.m., Monk Liu wrote: and disable MC resum in VCN2.0 as well those are not concerned by VF driver Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 23 +++ 1 file changed, 23 insertions(+) diff

Re: [enable VCN2.0 for NV12 SRIOV 4/6] drm/amdgpu: cleanup ring/ib test for SRIOV vcn2.0

2020-03-05 Thread Leo Liu
This patch is: Reviewed-by: Leo Liu On 2020-03-05 8:33 a.m., Monk Liu wrote: support IB test on dec/enc ring disable ring test on dec/enc ring (MMSCH limitation) Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 11 +++ drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c

Re: [enable VCN2.0 for NV12 SRIOV 3/6] drm/amdgpu: implement initialization part on VCN2.0 for SRIOV

2020-03-05 Thread Leo Liu
On 2020-03-05 8:33 a.m., Monk Liu wrote: one dec ring and one enc ring It seems more than that, you might add more messages. Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 231 +- 1 file changed, 228 insertions(+), 3 deletions(-) di

Re: [enable VCN2.0 for NV12 SRIOV 2/6] drm/amdgpu: disable jpeg block for SRIOV

2020-03-05 Thread Leo Liu
On 2020-03-05 8:39 a.m., Liu, Monk wrote: This is not supported by MMSCH FW... With this added to commit message, this patch is: Reviewed-by: Leo Liu _ Monk Liu|GPU Virtualization Team |AMD -Original Message- From: Christian König Sent

Re: [enable VCN2.0 for NV12 SRIOV 1/6] drm/amdgpu: introduce mmsch v2.0 header

2020-03-05 Thread Leo Liu
This patch is: Acked-by: Leo Liu On 2020-03-05 8:33 a.m., Monk Liu wrote: Signed-off-by: Monk Liu --- drivers/gpu/drm/amd/amdgpu/mmsch_v2_0.h | 338 1 file changed, 338 insertions(+) create mode 100644 drivers/gpu/drm/amd/amdgpu/mmsch_v2_0.h diff --git

Re: [PATCH] drm/amdgpu/vcn2.5: fix warning

2020-02-10 Thread Leo Liu
Acked-by: Leo Liu On 2020-02-07 8:17 a.m., James Zhu wrote: Fix warning during switching to dpg pause mode for VCN firmware Version ENC: 1.1 DEC: 1 VEP: 0 Revision: 16 Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH] drm/amdgpu/vcn2.5: fix DPG mode power off issue on instance 1

2020-02-05 Thread Leo Liu
this variable be aligned with other variables in the structure? With that fixed, the patch is Reviewed-by: Leo Liu void*dpg_sram_cpu_addr; uint64_tdpg_sram_gpu_addr; uint32_t*dpg_sram_curr_addr; @@ -190,8 +191,6

Re: [PATCH v2 3/5] drm/amdgpu/vcn: fix vcn2.5 instance issue

2020-01-21 Thread Leo Liu
->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg);\ + addr = (adev->reg_offset[ip##_HWIP][0][reg##_BASE_IDX] + reg); \ Why do you still have hard coded here? please have it reverted. With that fixed the patch is: Reviewed-by: L

Re: [PATCH v2 4/5] drm/amdgpu/vcn: fix typo error

2020-01-21 Thread Leo Liu
Patch v2 4 and 5 are: Reviewed-by: Leo Liu On 2020-01-21 4:39 p.m., James Zhu wrote: Fix typo error, should be inst_idx instead of inst. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu

Re: [PATCH 4/4] drm/amdgpu/vcn: use inst_idx relacing inst

2020-01-21 Thread Leo Liu
, you should have that in a separated patch. Leo So I want to clean up the header first to use inst_idx for abbreviation of instance index. James On 2020-01-21 3:30 p.m., Leo Liu wrote: On 2020-01-21 12:50 p.m., James Zhu wrote: On 2020-01-21 12:43 p.m., Leo Liu wrote: On 2020-01-21 11

Re: [PATCH 3/4] drm/amdgpu/vcn: fix vcn2.5 instance issue

2020-01-21 Thread Leo Liu
"adev->reg_offset[ip##_HWIP][inst][reg##_BASE_IDX] + reg", so the format should be kept here as well Leo James On 2020-01-21 3:23 p.m., Leo Liu wrote: On 2020-01-21 12:48 p.m., James Zhu wrote: On 2020-01-21 12:40 p.m., Leo Liu wrote: On 2020-01-21 11:19 a.m., James Zh

Re: [PATCH 4/4] drm/amdgpu/vcn: use inst_idx relacing inst

2020-01-21 Thread Leo Liu
On 2020-01-21 12:50 p.m., James Zhu wrote: On 2020-01-21 12:43 p.m., Leo Liu wrote: On 2020-01-21 11:19 a.m., James Zhu wrote: Use inst_idx relacing inst in SOC15_DPG_MODE macro Signed-off-by: James Zhu ---   drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 22 +++---   1 file

Re: [PATCH 3/4] drm/amdgpu/vcn: fix vcn2.5 instance issue

2020-01-21 Thread Leo Liu
On 2020-01-21 12:48 p.m., James Zhu wrote: On 2020-01-21 12:40 p.m., Leo Liu wrote: On 2020-01-21 11:19 a.m., James Zhu wrote: Fix vcn2.5 instance issue, vcn0 and vcn1 have same register offset Signed-off-by: James Zhu ---   drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h |  4 +-   drivers/gpu

Re: [PATCH 2/4] drm/amdgpu/vcn2.5: fix a bug for the 2nd vcn instance

2020-01-21 Thread Leo Liu
On 2020-01-21 12:47 p.m., James Zhu wrote: On 2020-01-21 12:29 p.m., Leo Liu wrote: On 2020-01-21 11:19 a.m., James Zhu wrote: Fix a bug for the 2nd vcn instance at start and stop. Signed-off-by: James Zhu ---   drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 12   1 file changed, 8

Re: [PATCH 4/4] drm/amdgpu/vcn: use inst_idx relacing inst

2020-01-21 Thread Leo Liu
On 2020-01-21 11:19 a.m., James Zhu wrote: Use inst_idx relacing inst in SOC15_DPG_MODE macro Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_

Re: [PATCH 3/4] drm/amdgpu/vcn: fix vcn2.5 instance issue

2020-01-21 Thread Leo Liu
On 2020-01-21 11:19 a.m., James Zhu wrote: Fix vcn2.5 instance issue, vcn0 and vcn1 have same register offset Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 4 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 86 drivers/gpu/drm/amd/am

Re: [PATCH 2/4] drm/amdgpu/vcn2.5: fix a bug for the 2nd vcn instance

2020-01-21 Thread Leo Liu
On 2020-01-21 11:19 a.m., James Zhu wrote: Fix a bug for the 2nd vcn instance at start and stop. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c b/driv

Re: [PATCH 1/4] drm/amdgpu/vcn: Share vcn_v2_0_dec_ring_test_ring to vcn2.5

2020-01-21 Thread Leo Liu
This patch is Reviewed-by: Leo Liu On 2020-01-21 11:19 a.m., James Zhu wrote: Share vcn_v2_0_dec_ring_test_ring to vcn2.5 to support vcn software ring. Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.h | 1 + drivers/gpu/drm

[PATCH 1/2] drm/amdgpu/vcn1.0: add 1_0 to Macro and fix build warning

2020-01-15 Thread Leo Liu
Fixes: 2f60d5f2bc4 "drm/amdgpu/vcn: move macro from vcn2.0 to share amdgpu_vcn" Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/

[PATCH 2/2] drm/amdgpu: fix the instance loop and build warning

2020-01-15 Thread Leo Liu
Fixes: 8ae1e132 "drm/amdgpu/vcn: support multiple instance direct SRAM read and write" Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/g

Re: [PATCH v3 0/5] support Arcturus IFM workaround

2020-01-15 Thread Leo Liu
those fixed in patch2&3, the series are: Reviewed-by: Leo Liu Regards, Leo James Zhu (5): drm/amdgpu/vcn: support multiple-instance dpg pause mode drm/amdgpu/vcn2.5: support multiple instance direct SRAM read and write drm/amdgpu/vcn2.5: add DPG mode start and stop

Re: [PATCH v3 3/5] drm/amdgpu/vcn2.5: add DPG mode start and stop

2020-01-15 Thread Leo Liu
On 2020-01-14 5:23 p.m., James Zhu wrote: Add DPG mode start and stop functions for vcn2.5 v2: Correct firmware ucode index in vcn_v2_5_mc_resume_dpg_mode Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 295 +- 1 file changed, 293 insert

Re: [PATCH v3 2/5] drm/amdgpu/vcn2.5: support multiple instance direct SRAM read and write

2020-01-15 Thread Leo Liu
On 2020-01-14 5:23 p.m., James Zhu wrote: Add multiple instance direct SRAM read and write support for vcn2.5 Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 27 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 46 drivers/gpu/drm/amd/amdgpu/vcn

Re: [PATCH 4/6] drm/amdgpu/vcn2.5: add dpg pause mode

2020-01-14 Thread Leo Liu
On 2020-01-14 12:58 p.m., James Zhu wrote: Add dpg pause mode support for vcn2.5 Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 70 +++ 1 file changed, 70 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c b/drivers/gpu/

Re: [PATCH 2/6] drm/amdgpu/vcn2.5: add direct SRAM read and write

2020-01-14 Thread Leo Liu
I think you can avoid the duplication, instead adding instance to "RREG32(WREG)_SOC15_DPG_MODE_2_0(offset, mask_en) ", just like adding instance to other part of the code. Regards, Leo On 2020-01-14 12:58 p.m., James Zhu wrote: Add direct SRAM read and write MACRO for vcn2.5 Signed-off-by:

Re: [PATCH 1/6] drm/amdgpu/vcn: support multiple-instance dpg pause mode

2020-01-14 Thread Leo Liu
Reviewed-by: Leo Liu On 2020-01-14 12:58 p.m., James Zhu wrote: Add multiple-instance dpg pause mode support for VCN2.5 Signed-off-by: James Zhu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c

[PATCH 2/2] drm/amdgpu: enable VCN2.5 IP block for Arcturus

2020-01-07 Thread Leo Liu
With default PSP FW loading Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/soc15.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 714cf4dfd0a7..e4a7245939c8 100644 --- a/drivers/gpu/drm

[PATCH 1/2] drm/amdgpu/vcn2.5: fix PSP FW loading for the second instance

2020-01-07 Thread Leo Liu
ucodes for instances are from different location Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c index 4ea8e20ed15d

[PATCH] drm/amdgpu/vcn: remove unnecessary included headers

2019-12-16 Thread Leo Liu
Esp. VCN1.0 headers should not be here v2: add back the to keep consistent. Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c index

Re: [PATCH] drm/amdgpu/vcn: remove unnecessary included headers

2019-12-16 Thread Leo Liu
at the MODULE_FIRMWARE for VCN. So in order to keep it consistent, and I will send v2 to keep Regards, Leo On 2019-12-16 11:50 a.m., Leo Liu wrote: On 2019-12-16 11:36 a.m., Alex Deucher wrote: On Mon, Dec 16, 2019 at 11:06 AM Leo Liu wrote: Esp. VCN1.0 headers should not be here

Re: [PATCH] drm/amdgpu/vcn: remove unnecessary included headers

2019-12-16 Thread Leo Liu
On 2019-12-16 11:36 a.m., Alex Deucher wrote: On Mon, Dec 16, 2019 at 11:06 AM Leo Liu wrote: Esp. VCN1.0 headers should not be here Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu

[PATCH] drm/amdgpu/vcn: remove unnecessary included headers

2019-12-16 Thread Leo Liu
Esp. VCN1.0 headers should not be here Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c index e522025430c7..371f55de42dc 100644 --- a

[PATCH 1/2] drm/amdgpu/vcn1.0: use its own idle handler and begin use funcs

2019-12-13 Thread Leo Liu
Because VCN1.0 power management and DPG mode are managed together with JPEG1.0 under both HW and FW, so separated them from general VCN code. Also the multiple instances case got removed, since VCN1.0 HW just have a single instance. v2: override work func with vcn1.0's own Signed-off-by: Le

Re: [PATCH] drm/amdgpu: add JPEG check to VCN idle handler and begin use

2019-12-12 Thread Leo Liu
On 2019-12-12 3:18 a.m., Christian König wrote: Am 11.12.19 um 20:48 schrieb Leo Liu: Since it's only needed with VCN1.0 when HW has no its own JPEG HW IP block Wouldn't it be simpler/cleaner to just define a vcn_v1_0_ring_begin_use() and vcn_v1_0_idle_work_handler() instead?

[PATCH 2/2] drm/amdgpu/vcn: remove JPEG related code from idle handler and begin use

2019-12-12 Thread Leo Liu
For VCN2.0 and above, VCN has been separated from JPEG Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 28 + 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu

[PATCH 1/2] drm/amdgpu/vcn1.0: use its own idle handler and begin use funcs

2019-12-12 Thread Leo Liu
Because VCN1.0 power management and DPG mode are managed together with JPEG1.0 under both HW and FW, so separated them from general VCN code. Also the multiple instances case got removed, since VCN1.0 HW just have a single instance. Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu

[PATCH] drm/amdgpu: add JPEG check to VCN idle handler and begin use

2019-12-11 Thread Leo Liu
Since it's only needed with VCN1.0 when HW has no its own JPEG HW IP block Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 29 +++-- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 2 ++ 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/dr

[PATCH 2/2] drm/amdgpu: fix JPEG instance checking when ctx init

2019-12-09 Thread Leo Liu
Fixes: 0388aee76("drm/amdgpu: use the JPEG structure for general driver support") Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/

[PATCH 1/2] drm/amdgpu: fix VCN2.x number of irq types

2019-12-09 Thread Leo Liu
The JPEG irq type has been moved to its own structure Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c b/drivers/gpu/drm

Re: [PATCH] drm/amdgpu/vcn2.5: fix the enc loop with hw fini

2019-11-15 Thread Leo Liu
On 2019-11-15 5:15 p.m., Leo Liu wrote: Fixes: 9072c584 (drm/amdgpu: move JPEG2.5 out from VCN2.5) Just checked the bug was existing before the changes above. Regards, Leo Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 6 +++--- 1 file changed, 3 insertions

[PATCH] drm/amdgpu/vcn2.5: fix the enc loop with hw fini

2019-11-15 Thread Leo Liu
Fixes: 9072c584 (drm/amdgpu: move JPEG2.5 out from VCN2.5) Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c b/drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c index 451dc814d845

Re: [PATCH 16/21] drm/amdgpu: enable JPEG2.0 dpm

2019-11-14 Thread Leo Liu
On 2019-11-14 11:03 a.m., Alex Deucher wrote: On Tue, Nov 12, 2019 at 1:04 PM Leo Liu wrote: By using its own enabling function Signed-off-by: Leo Liu --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 8 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h | 1 + drivers/gpu/drm/amd/amdgpu

  1   2   3   >