• T
    drm/vmwgfx: Don't cache framebuffer maps · 98648ae6
    Thomas Hellstrom 提交于
    Buffer objects need to be either pinned or reserved while a map is active,
    that's not the case here, so avoid caching the framebuffer map.
    This will cause increasing mapping activity mainly when we don't do
    page flipping.
    
    This fixes occasional garbage filled screens when the framebuffer has been
    evicted after the map.
    
    Since in-kernel mapping of whole buffer objects is error-prone on 32-bit
    architectures and also quite inefficient, we will revisit this later.
    Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: NSinclair Yeh <syeh@vmware.com>
    Cc: <stable@vger.kernel.org>
    98648ae6
vmwgfx_kms.c 74.5 KB