drm/xe/query: zero the region info
authorMatthew Auld <matthew.auld@intel.com>
Wed, 15 Feb 2023 10:28:45 +0000 (10:28 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:29:06 +0000 (18:29 -0500)
commitb47b0ef1ba34e351228b57ce7ba74efc6d7b2c24
treea5bfd96927145cfda37b65802fb8142453586577
parent6062acc1b8664ade91b4609ea056badd6f1e6802
drm/xe/query: zero the region info

There are also some reserved fields in here which are not currently
cleared when handing back to userspace. Otherwise we might run into
issues if we later wish to use them.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Lucas De Marchi lucas.demarchi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_query.c