drm/xe/uapi: Rename query's mem_usage to mem_regions
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 14 Nov 2023 13:34:31 +0000 (13:34 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:44:38 +0000 (11:44 -0500)
commitb02606d32376b8d51b33211f8c069b16165390eb
tree44fe345c100867d5932137f53d9eefa6a377a22d
parent45c30d80008264d55915f4b87c6f9bbb3261071c
drm/xe/uapi: Rename query's mem_usage to mem_regions

'Usage' gives an impression of telemetry information where someone
would query to see how the memory is currently used and available
size, etc. However this API is more than this. It is about a global
view of all the memory regions available in the system and user
space needs to have this information so they can then use the
mem_region masks that are returned for the engine access.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/xe/xe_query.c
include/uapi/drm/xe_drm.h