diff options
author | Sinclair Yeh <syeh@vmware.com> | 2017-06-02 07:55:50 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2017-06-07 14:36:02 +0200 |
commit | a1ac633912305168bf432c3d47979d43b16164f8 (patch) | |
tree | a16c610f9d82665889f29e973ec83cf792ed42c0 /drivers/gpu/drm/rcar-du | |
parent | 8a309c8a2d0619efe29ec652c163d6b89eff9f9f (diff) |
drm/vmwgfx: Fix large topology crash
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: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du')
0 files changed, 0 insertions, 0 deletions