drm/xe/uapi: Use common drm_xe_ext_set_property extension
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 20 Sep 2023 19:29:31 +0000 (15:29 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:43:17 +0000 (11:43 -0500)
commit5dc079d1a8e5e880ae18b4f4585d7dc28e51e68e
tree9f8154234750224f2ae3120fdf978c6daabbf1fe
parentbffb2573726beabc8ad70532d5655a976f9053d8
drm/xe/uapi: Use common drm_xe_ext_set_property extension

There really is no difference between 'struct drm_xe_ext_vm_set_property'
and 'struct drm_xe_ext_exec_queue_set_property', they are extensions which
specify a <property, value> pair. Replace the two extensions with a single
common 'struct drm_xe_ext_set_property' extension. The rationale is that
rather than have each XE module (including future modules) invent their own
property/value extensions, all XE modules use a common set_property
extension when possible.

Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
drivers/gpu/drm/xe/xe_exec_queue.c
drivers/gpu/drm/xe/xe_vm.c
include/uapi/drm/xe_drm.h