[PATCH 2/2] drm/amd/display: Use common error handling code in dc_create()

2020-12-20 Thread Markus Elfring
From: Markus Elfring Date: Sat, 19 Dec 2020 18:18:59 +0100 Adjust a jump target so that a bit of exception handling can be better reused at the end of this function. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/display/dc/core/dc.c | 15 ++- 1 file changed, 6 insertions(+)

[PATCH 0/2] drm/amd/display: Adjustments for dc_create()

2020-12-20 Thread Markus Elfring
From: Markus Elfring Date: Sat, 19 Dec 2020 18:30:56 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Return directly after a failed kzalloc() Use common error handling code drivers/gpu/drm/amd/display/dc/core/dc.c | 21

[PATCH 1/2] drm/amd/display: Return directly after a failed kzalloc() in dc_create()

2020-12-20 Thread Markus Elfring
From: Markus Elfring Date: Sat, 19 Dec 2020 18:04:33 +0100 * Return directly after a call of the function “kzalloc” failed at the beginning. * Delete a label which became unnecessary with this refactoring. Signed-off-by: Markus Elfring --- drivers/gpu/drm/amd/display/dc/core/dc.c | 6 ++

RE: [PATCH 0/8] amdgpu/pm: Powerplay API for smu

2020-12-20 Thread Quan, Evan
[AMD Official Use Only - Internal Distribution Only] Thanks for these cleaups. The series is acked-by: Evan Quan -Original Message- From: amd-gfx On Behalf Of Darren Powell Sent: Saturday, December 19, 2020 8:48 AM To: amd-gfx@lists.freedesktop.org Cc: Powell, Darren Subject: [PATCH 0/

Re: [PATCH 1/8] amdgpu/pm: Powerplay API for smu , added get_performance_level

2020-12-20 Thread Wang, Kevin(Yang)
[AMD Official Use Only - Internal Distribution Only] From: amd-gfx on behalf of Darren Powell Sent: Saturday, December 19, 2020 8:48 AM To: amd-gfx@lists.freedesktop.org Cc: Powell, Darren Subject: [PATCH 1/8] amdgpu/pm: Powerplay API for smu , added get_per

Re: [PATCH 3/8] amdgpu/pm: Powerplay API for smu , changed 6 pm hwmon fan functions to use API

2020-12-20 Thread Wang, Kevin(Yang)
[AMD Official Use Only - Internal Distribution Only] From: amd-gfx on behalf of Darren Powell Sent: Saturday, December 19, 2020 8:48 AM To: amd-gfx@lists.freedesktop.org Cc: Powell, Darren Subject: [PATCH 3/8] amdgpu/pm: Powerplay API for smu , changed 6 pm h

Re: [PATCH 4/8] amdgpu/pm: Powerplay API for smu , changed 9 pm power functions to use API

2020-12-20 Thread Wang, Kevin(Yang)
[AMD Official Use Only - Internal Distribution Only] From: amd-gfx on behalf of Darren Powell Sent: Saturday, December 19, 2020 8:48 AM To: amd-gfx@lists.freedesktop.org Cc: Powell, Darren Subject: [PATCH 4/8] amdgpu/pm: Powerplay API for smu , changed 9 pm

[PATCH 1/3] drm/amdgpu: enable software ih ring for vega20 ih block

2020-12-20 Thread Hawking Zhang
software ih ring will be used as a workaround in case hardware ih ring 1 and ring 2 don't work Signed-off-by: Hawking Zhang --- drivers/gpu/drm/amd/amdgpu/vega20_ih.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/vega20_ih.c b/drivers/gpu/drm/amd/amdgpu/v

[PATCH 2/3] drm/amdgpu: set ih soft ring enabled flag for vega and navi

2020-12-20 Thread Hawking Zhang
software ih ring is enabled in vega10 and navi ih block by default. Signed-off-by: Hawking Zhang --- drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 3 +++ drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/navi10_ih.c b/drivers/gp

[PATCH 3/3] drm/amdgpu: de-initialize software ih ring

2020-12-20 Thread Hawking Zhang
tear down software ih ring and its state. Signed-off-by: Hawking Zhang --- drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 1 + drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 1 + drivers/gpu/drm/amd/amdgpu/vega20_ih.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/navi10_ih

RE: [PATCH 3/3] drm/amdgpu: de-initialize software ih ring

2020-12-20 Thread Xu, Feifei
[AMD Official Use Only - Internal Distribution Only] Series is Reviewed-by: Feifei Xu -Original Message- From: Zhang, Hawking Sent: 2020年12月21日 下午 1:43 To: amd-gfx@lists.freedesktop.org; Xu, Feifei ; Koenig, Christian Cc: Zhang, Hawking Subject: [PATCH 3/3] drm/amdgpu: de-initiali