]> www.infradead.org Git - linux.git/commit
drm/xe/oa: Allow only certain property changes from config
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Tue, 22 Oct 2024 20:03:52 +0000 (13:03 -0700)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 23 Oct 2024 19:42:20 +0000 (12:42 -0700)
commit85d3f9e84e0628c412b69aa99b63654dfa08ad68
tree26ee14ce823f75cd87573525fd24026b1866f8ce
parent9920c8b88c5cf2e44f4ff508dd3c0c96e4364db0
drm/xe/oa: Allow only certain property changes from config

Whereas all properties can be specified during OA stream open, when the OA
stream is reconfigured only the config_id and syncs can be specified.

v2: Use separate function table for reconfig case (Jonathan)
    Change bool function args to enum (Matt B)
v3: s/xe_oa_set_property_funcs/xe_oa_set_property_funcs_open/ (Jonathan)

Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Suggested-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241022200352.1192560-8-ashutosh.dixit@intel.com
drivers/gpu/drm/xe/xe_oa.c