Re: [PATCH] drm/amd/display: Add DPCS regs for dcn302 link encoder

2020-11-19 Thread Aurabindo Pillai
Reviewed-by: Aurabindo Pillai On 2020-11-18 2:19 p.m., Bhawanpreet Lakha wrote: > dpcs reg are missing for dcn302 link encoder regs list, so add them. > Just like dcn3 > > Signed-off-by: Bhawanpreet Lakha > --- > drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 1 + > 1 file changed,

Re: [PATCH v2 8/8] drm/amdgpu: Prevent any job recoveries after device is unplugged.

2020-11-19 Thread Andrey Grodzovsky
On 11/19/20 10:29 AM, Daniel Vetter wrote: On Thu, Nov 19, 2020 at 10:02:28AM -0500, Andrey Grodzovsky wrote: On 11/19/20 2:55 AM, Christian König wrote: Am 18.11.20 um 17:20 schrieb Andrey Grodzovsky: On 11/18/20 7:01 AM, Christian König wrote: Am 18.11.20 um 08:39 schrieb Daniel Vetter:

Re: [PATCH v3 1/5] drm/amdgpu/vcn: refactor dec message functions

2020-11-19 Thread Christian König
Am 19.11.20 um 16:37 schrieb James Zhu: On 2020-11-19 9:58 a.m., Christian König wrote: Am 19.11.20 um 15:52 schrieb James Zhu: On 2020-11-19 2:59 a.m., Christian König wrote: Am 18.11.20 um 17:23 schrieb James Zhu: refactor dec message functions to add dec software ring support.

Re: [PATCH] amd/amdgpu: use kmalloc_array to replace kmalloc with multiply

2020-11-19 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Nov 18, 2020 at 3:18 AM Christian König wrote: > > Am 18.11.20 um 03:55 schrieb Bernard Zhao: > > Fix check_patch.pl warning: > > WARNING: Prefer kmalloc_array over kmalloc with multiply > > +bps = kmalloc(align_space * sizeof((*data)->bps), GFP_KERNEL); > >

Re: [PATCH] amdgpu/amdgpu_ids: fix kmalloc_array not uses number as first arg

2020-11-19 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Nov 18, 2020 at 3:17 AM Christian König wrote: > > Am 18.11.20 um 03:42 schrieb Bernard Zhao: > > Fix check_patch.pl warning: > > kmalloc_array uses number as first arg, sizeof is generally wrong. > > +fences = kmalloc_array(sizeof(void *), id_mgr->num_ids, > >

[PATCH 1/2] drm/amd/pm: fix the crash after runtime pm resume

2020-11-19 Thread Likun Gao
From: Likun Gao Some features are still disabled after runtime pm resume. This can take the hardware back. Unlike other projects, this doesn't need pptable retransfer. Signed-off-by: Kenneth Feng Signed-off-by: Likun Gao Change-Id: If7c4148380ddb8a08aed06a8ba9afae98075947d ---

[PATCH] drm/amd/amdgpu: skip unload message in reset

2020-11-19 Thread Kenneth Feng
This has been confirmed that unload message is not needed from SIENNA_CICHLID in reset. Otherwise it will cause the fw wrong state after reset and no response for any messages. Signed-off-by: Kenneth Feng --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 3 ++- 1 file changed, 2 insertions(+), 1

RE: [PATCH] drm/amd/amdgpu: skip unload message in reset

2020-11-19 Thread Zhang, Hawking
[AMD Public Use] Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: amd-gfx On Behalf Of Kenneth Feng Sent: Friday, November 20, 2020 14:41 To: amd-gfx@lists.freedesktop.org Cc: Feng, Kenneth Subject: [PATCH] drm/amd/amdgpu: skip unload message in reset This has

Re: [PATCH v2 8/8] drm/amdgpu: Prevent any job recoveries after device is unplugged.

2020-11-19 Thread Christian König
Am 18.11.20 um 17:20 schrieb Andrey Grodzovsky: On 11/18/20 7:01 AM, Christian König wrote: Am 18.11.20 um 08:39 schrieb Daniel Vetter: On Tue, Nov 17, 2020 at 9:07 PM Andrey Grodzovsky wrote: On 11/17/20 2:49 PM, Daniel Vetter wrote: On Tue, Nov 17, 2020 at 02:18:49PM -0500, Andrey

Re: [PATCH v3 3/5] drm/amdgpu/vcn: add test for dec vcn software ring

2020-11-19 Thread Christian König
Am 18.11.20 um 17:23 schrieb James Zhu: Add vcn software ring decode ring test and decode ib test. Signed-off-by: James Zhu Reviewed-by: Leo Liu Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 121 1 file changed, 121

Re: [PATCH v2 1/8] drm: Add dummy page per device or GEM object

2020-11-19 Thread Christian König
Am 16.11.20 um 21:42 schrieb Andrey Grodzovsky: On 11/16/20 3:36 PM, Christian König wrote: Am 16.11.20 um 20:00 schrieb Andrey Grodzovsky: On 11/16/20 4:48 AM, Christian König wrote: Am 15.11.20 um 07:34 schrieb Andrey Grodzovsky: On 11/14/20 4:51 AM, Daniel Vetter wrote: On Sat, Nov

Re: [PATCH] drm/amdgpu: Add gfx doorbell setting for Vangogh

2020-11-19 Thread Huang Rui
On Wed, Nov 18, 2020 at 08:09:05PM +0800, Su, Jinzhou (Joe) wrote: > Using KIQ to map GFX queues instead of MMIO for gfx async ring, > add missing doorbell range setting. > > Signed-off-by: Jinzhou.Su > --- > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 24 ++-- > 1 file

Re: [PATCH v3 1/5] drm/amdgpu/vcn: refactor dec message functions

2020-11-19 Thread James Zhu
On 2020-11-19 2:59 a.m., Christian König wrote: Am 18.11.20 um 17:23 schrieb James Zhu: refactor dec message functions to add dec software ring support. Signed-off-by: James Zhu ---   drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 30 +++---   1 file changed, 19

Re: [PATCH v2 8/8] drm/amdgpu: Prevent any job recoveries after device is unplugged.

2020-11-19 Thread Daniel Vetter
On Thu, Nov 19, 2020 at 10:02:28AM -0500, Andrey Grodzovsky wrote: > > On 11/19/20 2:55 AM, Christian König wrote: > > Am 18.11.20 um 17:20 schrieb Andrey Grodzovsky: > > > > > > On 11/18/20 7:01 AM, Christian König wrote: > > > > Am 18.11.20 um 08:39 schrieb Daniel Vetter: > > > > > On Tue, Nov

Re: [PATCH v3 1/5] drm/amdgpu/vcn: refactor dec message functions

2020-11-19 Thread Christian König
Am 19.11.20 um 15:52 schrieb James Zhu: On 2020-11-19 2:59 a.m., Christian König wrote: Am 18.11.20 um 17:23 schrieb James Zhu: refactor dec message functions to add dec software ring support. Signed-off-by: James Zhu ---   drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 30

Re: [PATCH v2 8/8] drm/amdgpu: Prevent any job recoveries after device is unplugged.

2020-11-19 Thread Andrey Grodzovsky
On 11/19/20 2:55 AM, Christian König wrote: Am 18.11.20 um 17:20 schrieb Andrey Grodzovsky: On 11/18/20 7:01 AM, Christian König wrote: Am 18.11.20 um 08:39 schrieb Daniel Vetter: On Tue, Nov 17, 2020 at 9:07 PM Andrey Grodzovsky wrote: On 11/17/20 2:49 PM, Daniel Vetter wrote: On Tue,

Re: [PATCH v3 1/5] drm/amdgpu/vcn: refactor dec message functions

2020-11-19 Thread James Zhu
On 2020-11-19 9:58 a.m., Christian König wrote: Am 19.11.20 um 15:52 schrieb James Zhu: On 2020-11-19 2:59 a.m., Christian König wrote: Am 18.11.20 um 17:23 schrieb James Zhu: refactor dec message functions to add dec software ring support. Signed-off-by: James Zhu ---