aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2019-10-24 10:14:03 +0200
committerThomas Zimmermann <[email protected]>2019-10-24 16:12:36 +0200
commitecad80f0865d69c8de37c7415dbf66ba372f2ca1 (patch)
treed0740c34701ee2861c286eaaed035a19e91142be /lib/memory-notifier-error-inject.c
parenteddc0acfed094293a0ee5130cc8cd2b97be8ee84 (diff)
drm/hisilicon/hibmc: Use GEM VRAM's prepare_fb() and cleanup_fb() helpers
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 <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions