]> www.infradead.org Git - users/hch/configfs.git/commit
drm/xe/oa: Allow stream enable/disable functions to return error
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 26 Jun 2024 18:18:16 +0000 (11:18 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 26 Jun 2024 22:25:39 +0000 (18:25 -0400)
commit1bab7ecf5c10a0a529c06480692a544391053c20
treec2ddd3ed98927e88502a6d2ed457985e89be2637
parent8d789ff4a41a557de565b1778a7c620cbb22ae0e
drm/xe/oa: Allow stream enable/disable functions to return error

Stream enable/disable functions previously had void return because failure
during function execution was not possible. This will change when we
introduce functionality to disable preemption on the stream exec
queue. Therefore, in preparation for this functionality, prepare this code
to be able to handle error returns.

Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240626181817.1516229-2-ashutosh.dixit@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_oa.c