[drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12

2021-01-10 Thread Mikhail Gavrilov
Hi folks, today I joined to testing Kernel 5.11 and saw that the kernel log was flooded with BUG messages: BUG: sleeping function called from invalid context at mm/vmalloc.c:1756 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 266, name: kswapd0 INFO: lockdep is turned off. CPU: 15 PID: 266

Re: [PATCH 06/21] drm/amd/display: Remove HUBP_DISABLE from default

2021-01-10 Thread Rodrigo Siqueira
Hi, After a discussion, we decided to drop this patch from the weekly promotion. Please, don't apply this change to amd-staging-drm-next. Thanks On 01/08, Rodrigo Siqueira wrote: > From: Wesley Chalmers > > [WHY] > HW team plans to rename HUBP_DISABLE to HUBP_SOFT_RESET in future HW >

RE: [PATCH v2] drm/amdgpu:Limit the resolution for virtual_display

2021-01-10 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Yes, it just won't report bigger than 16384 mode to user mode, as it won't work properly. Best wishes Emily Deng >-Original Message- >From: Alex Deucher >Sent: Friday, January 8, 2021 11:14 PM >To: Deng, Emily >Cc:

RE: [PATCH v2 7/7] drm/amd/pm: implement processor fine grain feature for vangogh (v2)

2021-01-10 Thread Quan, Evan
[AMD Official Use Only - Internal Distribution Only] Reviewed-by: Evan Quan -Original Message- From: Huang, Ray Sent: Monday, January 11, 2021 12:26 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Liu, Aaron ; Du, Xiaojian ; Hou, Xiaomeng (Matthew) ; Quan, Evan ; Huang,

RE: [PATCH] drm/amdgpu: fix issue when 2 ring job timeout

2021-01-10 Thread Quan, Evan
Hi Horace, The XGMI part should be already well protected by hive->hive_lock. So, I think you need the non-XGMI part only. Also, it seems better to place the modifications within the hive check. /* * Here we trylock to avoid chain of resets executing from * either

[PATCH v2 2/7] drm/amd/pm: enhance the real response for smu message (v2)

2021-01-10 Thread Huang Rui
The user prefers to know the real response value from C2PMSG 90 register which is written by firmware not -EIO. v2: return C2PMSG 90 value Signed-off-by: Huang Rui --- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v2 7/7] drm/amd/pm: implement processor fine grain feature for vangogh (v2)

2021-01-10 Thread Huang Rui
This patch is to implement the processor fine grain feature for vangogh. It's similar with gfx clock, the only difference is below: echo "p core_id level value" > pp_od_clk_voltage 1. "p" - set the cclk (processor) frequency 2. "core_id" - 0/1/2/3, represents which cpu core you want to select 2.

RE: [PATCH v2 2/7] drm/amd/pm: enhance the real response for smu message (v2)

2021-01-10 Thread Quan, Evan
[AMD Official Use Only - Internal Distribution Only] Reviewed-by: Evan Quan -Original Message- From: Huang, Ray Sent: Monday, January 11, 2021 12:26 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Liu, Aaron ; Du, Xiaojian ; Hou, Xiaomeng (Matthew) ; Quan, Evan ; Huang,

RE: [PATCH v2] drm/amdgpu: Decrease compute timeout to 10 s for sriov multiple VF

2021-01-10 Thread Deng, Emily
[AMD Official Use Only - Internal Distribution Only] Ping . >-Original Message- >From: Emily Deng >Sent: Thursday, January 7, 2021 10:51 AM >To: amd-gfx@lists.freedesktop.org >Cc: Deng, Emily >Subject: [PATCH v2] drm/amdgpu: Decrease compute timeout to 10 s for sriov >multiple VF >