]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/oa: Move functions up so they can be reused for config ioctl
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Tue, 22 Oct 2024 20:03:50 +0000 (13:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 17:25:31 +0000 (18:25 +0100)
commitfa41f3cd4eeb908f6cfeb0b92ac35f978d4e01e7
tree7b676e42288caa868e9a0d10c28e7e9169c047a1
parent5fe916b2c9c6044599aa16d5d4f6564bc8391ff4
drm/xe/oa: Move functions up so they can be reused for config ioctl

[ Upstream commit cc4e6994d5a237ef38363e459ac83cf8ef7626ff ]

No code changes, only code movement so that functions used during stream
open can be reused for the stream reconfiguration
ioctl (DRM_XE_OBSERVATION_IOCTL_CONFIG).

Reviewed-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-6-ashutosh.dixit@intel.com
Stable-dep-of: 5bd566703e16 ("drm/xe/oa: Allow oa_exponent value of 0")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/xe/xe_oa.c