[PATCH] drm/amd/amdgpu: Replace kmap() with kmap_local_page()

2022-08-13 Thread Fabio M. De Francesco
kmap() is being deprecated in favor of kmap_local_page(). There are two main problems with kmap(): (1) It comes with an overhead as mapping space is restricted and protected by a global lock for synchronization and (2) it also requires global TLB invalidation when the kmap’s pool wraps and it migh

[PATCH v3] drm/amd/display: Fix vblank refcount in vrr transition

2022-08-13 Thread Yunxiang Li
manage_dm_interrupts disable/enable vblank using drm_crtc_vblank_off/on which causes drm_crtc_vblank_get in vrr_transition to fail, and later when drm_crtc_vblank_put is called the refcount on vblank will be messed up. Therefore move the call to after manage_dm_interrupts. Signed-off-by: Yunxiang

[PATCH] drm/amd/display: Fix comment typo

2022-08-13 Thread min tang
The double `aligned' is duplicated in line 1070, remove one. Signed-off-by: min tang --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c b/drivers/gpu/drm/amd/display/dc/dcn10

Re: [PATCH] drm/amdgpu: fix check in fbdev init

2022-08-13 Thread Greg KH
On Wed, Aug 10, 2022 at 11:39:39AM -0400, Alex Deucher wrote: > On Wed, Aug 10, 2022 at 11:38 AM Greg KH wrote: > > > > On Wed, Aug 10, 2022 at 11:28:18AM -0400, Alex Deucher wrote: > > > On Tue, Jul 19, 2022 at 2:57 PM Alex Deucher > > > wrote: > > > > > > > > The new vkms virtual display code

Patch "drm/amdgpu: fix check in fbdev init" has been added to the 5.15-stable tree

2022-08-13 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/amdgpu: fix check in fbdev init to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-amdgpu-fix-che