drm/qxl: fix framebuffer dirty rectangle tracking.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 5 Oct 2015 10:20:26 +0000 (12:20 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Oct 2015 05:31:45 +0000 (15:31 +1000)
commit60906529bec506a4bde93f04eb5e7a9dd9c42a3b
treee30c4cb1602ad283d807a2c00c1ebd695ea1076f
parentf6702681a0af186db8518793fbe46f45cce967dd
drm/qxl: fix framebuffer dirty rectangle tracking.

Commit "c0fe07a drm/qxl: rewrite framebuffer support" has a bug in the
dirty rectangle tracking:  Instead of ignoring an empty dirty rectangle
when adding a new dirty region the dirty region gets extended to the
upper left corner.  Fix it.

Cc: linux-stable@vger.kernel.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_fb.c