diff options
author | Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> | 2025-02-21 13:33:52 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 18:25:31 +0100 |
commit | baa88823dd84685bb3913723ed16ec3c6ab5c6ff (patch) | |
tree | 918e74d210b201ef80244729925ba55b46ba533b /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | da2e07e6505c79729c9101f523ab8090123299b2 (diff) |
drm/xe/oa: Allow oa_exponent value of 0
[ Upstream commit 5bd566703e16b17d17f4fb648440d54f8967462c ]
OA exponent value of 0 is a valid value for periodic reports. Allow user
to pass 0 for the OA sampling interval since it gets converted to 2 gt
clock ticks.
v2: Update the check in xe_oa_stream_init as well (Ashutosh)
v3: Fix mi-rpc failure by setting default exponent to -1 (CI)
v4: Add the Fixes tag
Fixes: b6fd51c62119 ("drm/xe/oa/uapi: Define and parse OA stream properties")
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250221213352.1712932-1-umesh.nerlige.ramappa@intel.com
(cherry picked from commit 30341f0b8ea71725cc4ab2c43e3a3b749892fc92)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions