panfrost: Reset the damage area on imported resources
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 28 Aug 2019 14:52:37 +0000 (16:52 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 28 Aug 2019 15:50:44 +0000 (17:50 +0200)
commit8709b865ce122687d75af8e96cfbb9c851885899
tree1e3b21c10a70e39200a991ed286408042d4b5edf
parent938c5b0148688f426235e81d6573f25e5021ceb7
panfrost: Reset the damage area on imported resources

Reset the damage area in the resource_from_handle() path (as done in
panfrost_resource_create()).

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_resource.c