]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb"
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 13:27:10 +0000 (09:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:50:08 +0000 (16:50 -0400)
commit1c3712bca470121169d531f74bf0ae96b4164527
tree4e2a26c739021372e0aa81494939ccf61a132c6e
parent734c168ac92e45417257561c9fd2738ea43b1189
Revert "fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb"

This reverts commit 4d58fb9b9e8a865abc2ccb399f99aded863c4997.

This was added a helper for amdgpu to workaround a runtime pm regression
caused by a runtime pm fix in efifb.  We now have a better workaround
in amdgpu in
commit 3dd7df18cbd2df ("drm/amdgpu: don't runtime suspend if there are displays attached (v3)")
so this workaround is no longer necessary.  Since amdgpu was the only
user of this interface, we can remove it.

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/video/fbdev/core/fbmem.c
include/linux/fb.h