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)
commit26817fb7b066b21c66cd41d75ed2137e046045be
tree4e2a26c739021372e0aa81494939ccf61a132c6e
parent5a90c24ad0283434f60ed2e1a628c9e6134d1fdc
Revert "fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb"

This reverts commit 9a45ac2320d0a6ae01880a30d4b86025fce4061b.

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 f95af4a9236695 ("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