diff options
author | Thomas Zimmermann <[email protected]> | 2019-09-27 11:13:00 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2019-10-04 10:01:05 +0200 |
commit | 2c51a6601693ffbcef2eb3e47f6c2b8cb3949b86 (patch) | |
tree | 71e4b1a2678e0c72a9587a515ab47b69add372f5 /lib/mpi/mpi-inline.h | |
parent | 378c18386a256947055a89e177e71af6f8a60934 (diff) |
drm/mgag200: Reserve video memory for cursor plane
The double-buffered cursor image is currently stored in video memory
by creating two BOs and pinning them to VRAM. The exact location is
chosen by VRAM helpers. The pinned cursor BOs can conflict with
framebuffer BOs and prevent the primary plane from displaying its
framebuffer.
As a first step to solving this problem, we reserve dedicated space at
the high end of the video memory for the cursor images. As the amount
of video memory now differs from the amount of available framebuffer
memory, size tests are adapted accordingly.
Signed-off-by: Thomas Zimmermann <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions