• S
    drm/vmwgfx: Fix large topology crash · a1ac6339
    Sinclair Yeh 提交于
    The previous attempt at this had an issue with with num_clips > 1
    because it would always end up using the coordinates of the last
    clip while using width and height calculated from the bounding
    box of all the clips.
    
    So if the last clip happens to be not at the top-left corner of
    the bounding box, the CPU blit operation would go out of bounds.
    
    The original intent was to coalesce all the clips into one blit,
    and to do that we need to also track the starting point of the
    content buffer.
    Signed-off-by: NSinclair Yeh <syeh@vmware.com>
    Reviewed-by: NThomas Hellstrom <thellstrom@vmware.com>
    a1ac6339
vmwgfx_stdu.c 46.0 KB