diff options
| author | Umesh Nerlige Ramappa <[email protected]> | 2025-02-21 21:33:52 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2025-02-25 14:00:12 +0000 |
| commit | 5bd566703e16b17d17f4fb648440d54f8967462c (patch) | |
| tree | fac3e84a8e8704223396538f2b0e53d117c0eb14 /net/unix/sysctl_net_unix.c | |
| parent | drm/xe/userptr: fix EFAULT handling (diff) | |
| download | kernel-5bd566703e16b17d17f4fb648440d54f8967462c.tar.gz kernel-5bd566703e16b17d17f4fb648440d54f8967462c.zip | |
drm/xe/oa: Allow oa_exponent value of 0
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 <[email protected]>
Reviewed-by: Ashutosh Dixit <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 30341f0b8ea71725cc4ab2c43e3a3b749892fc92)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
