aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2019-07-10 16:49:37 +0300
committerVille Syrjälä <[email protected]>2019-07-11 19:31:32 +0300
commitb12d5944fc285730d75bdd8f7cbc28d22c26f36f (patch)
tree2067067b1b6c0b3a23ef24e0e516ff80e6817c0a /tools/perf/scripts/python
parenta85fb46777c0e078075e7f4880a1f82178d66c1a (diff)
drm/i915: Don't pass stack garbage to pcode in the second data register
Zero initialize val2 so that we don't pass stack garbage to the pcode qgv read command. I suspect in this case pcode just ignores the initial value in that registers, but better safe than sorry. Cc: Dan Carpenter <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions