aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2023-02-02 14:04:52 +0200
committerJani Nikula <[email protected]>2023-02-02 21:34:21 +0200
commit247c7a4cdad87564da49a7879aca2f0653689502 (patch)
treeb3b76f3659025ffd7deee9c360eb250224e904a9 /tools/perf/scripts/python/bin
parentda97065e4692247767d2a7f2850d193eb2f65229 (diff)
drm/i915/dmc: check incoming dmc id validity
Add validity checks for the dmc ids computed from pipe parameters in intel_dmc_enable_pipe() and intel_dmc_disable_pipe(). It's slightly difficult for humans and static analyzers alike to ensure the resulting dmc ids are within bounds. Just check them and reject invalid ones. Signed-off-by: Jani Nikula <[email protected]> Reviewed-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/6a349c3a2b2def5fc31a48c9844ebd72ee55a22b.1675339447.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions