mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 13:14:36 +07:00
ecad80f086
This patch implements prepare_fb() and cleanup_fb() in hibmc with the GEM VRAM helpers. In the current code, pinning the BO is performed by hibmc_plane_atomic_update(), where the operation does not belong. This patch also fixes a bug where the pinned BO was never unpinned. Pinning multiple BOs would have exhaused the available VRAM and further pin operations would have failed, leaving the display in a corrupt state. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20191024081404.6978-4-tzimmermann@suse.de |
||
---|---|---|
.. | ||
hibmc_drm_de.c | ||
hibmc_drm_drv.c | ||
hibmc_drm_drv.h | ||
hibmc_drm_fbdev.c | ||
hibmc_drm_regs.h | ||
hibmc_drm_vdac.c | ||
hibmc_ttm.c | ||
Kconfig | ||
Makefile |