diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-04-12 16:10:41 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-04-14 10:00:04 +0300 |
commit | 2916059147ea38f76787d7b38dee883da2e9def2 (patch) | |
tree | ef39697149594663b0bd00e61b8b9732b4817956 /drivers/gpu/drm/tegra/drm.c | |
parent | d510c88cfbb294d2b1e2d0b71576e9b79d0e2e83 (diff) | |
download | linux-2916059147ea38f76787d7b38dee883da2e9def2.tar.xz |
drm/aperture: Add infrastructure for aperture ownership
Platform devices might operate on firmware framebuffers, such as VESA
or EFI. Before a native driver for the graphics hardware can take over
the device, it has to remove any platform driver that operates on the
firmware framebuffer. Aperture helpers provide the infrastructure for
native drivers to remove the generic ones.
For now, this only concerns generic fbdev drivers. Code for removing
these is provided by drm_fb_helper_remove_conflicting_framebuffers() et
al. Simply wrap these functions for now. At a later point, code can be
added for generic DRM drivers to acquire firmware framebuffers.
v2:
* fix docs for drm_aperture_remove_framebuffers()
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210412131043.5787-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.c')
0 files changed, 0 insertions, 0 deletions