diff options
author | 2016-06-29 13:23:18 -0700 | |
---|---|---|
committer | 2016-07-01 10:47:50 -0700 | |
commit | d5f1a291e32309324a8c481ed84b5c118d1360ea (patch) | |
tree | b91e89fe913c9899907951e957ac7132be261646 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/vmwgfx: Check pin count before attempting to move a buffer (diff) | |
download | linux-dev-d5f1a291e32309324a8c481ed84b5c118d1360ea.tar.xz linux-dev-d5f1a291e32309324a8c481ed84b5c118d1360ea.zip |
drm/vmwgfx: Delay pinning fbdev framebuffer until after mode set
For the Screen Object display unit, we need to reserve a
guest-invisible region equal to the size of the framebuffer for
the host. This region can only be reserved in VRAM, whereas
the guest-visible framebuffer can be reserved in either VRAM or
GMR.
As such priority should be given to the guest-invisible
region otherwise in a limited VRAM situation, we can fail to
allocate this region.
This patch makes it so that vmw_sou_backing_alloc() is called
before the framebuffer is pinned.
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Cc: <stable@vger.kernel.org>
---
This is the last patch of a 3-patch series to fix console black
screen issue on Ubuntu 16.04 server
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions