diff options
author | Tejas Upadhyay <tejas.upadhyay@intel.com> | 2025-03-27 15:26:47 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-04-07 23:16:07 +0300 |
commit | a5c71fd5b69b9da77e5e0b268e69e256932ba49c (patch) | |
tree | d8b97007491d41f97dc663b85916b27bda0d0a2a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 20659d3150f1a2a258a173fe011013178ff2a197 (diff) | |
download | linux-a5c71fd5b69b9da77e5e0b268e69e256932ba49c.tar.xz |
drm/xe/hw_engine: define sysfs_ops on all directories
Sysfs_ops needs to be defined on all directories which
can have attr files with set/get method. Add sysfs_ops
to even those directories which is currently empty but
would have attr files with set/get method in future.
Leave .default with default sysfs_ops as it will never
have setter method.
V2(Himal/Rodrigo):
- use single sysfs_ops for all dir and attr with set/get
- add default ops as ./default does not need runtime pm at all
Fixes: 3f0e14651ab0 ("drm/xe: Runtime PM wake on every sysfs call")
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250327122647.886637-1-tejas.upadhyay@intel.com
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
(cherry picked from commit 40780b9760b561e093508d07b8b9b06c94ab201e)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions