diff options
author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2021-09-26 20:45:42 +0200 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2021-10-01 12:04:23 -0700 |
commit | 217ecd310d56cca0bfd7c3ee1ff1deafae4ffed1 (patch) | |
tree | e1f29c1dac018c5911d47a5471d3b04ca77d641f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9eddd5a9a2aee15d4f0c701388cbdea70e49c6a9 (diff) |
drm/i915/guc: Verify result from CTB (de)register action
In commit b839a869dfc9 ("drm/i915/guc: Add support for data
reporting in GuC responses") we missed the hypothetical case
that GuC might return positive non-zero value as success data.
While that would be lucky treated as error case, and at the
end will result in reporting valid -EIO, in the meantime this
value will be passed to ERR_PTR that could be misleading.
v2: rebased
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210926184545.1407-2-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions