diff options
| author | Jani Nikula <[email protected]> | 2019-02-08 18:42:53 +0000 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2019-02-12 13:37:58 +0000 |
| commit | 16eb0f34cdf4cf04cd92762c7a79f98aa51e053f (patch) | |
| tree | 60d46ae4618fb77840620ca86277808f11b1d3d1 /tools/perf/util/c++/clang.cpp | |
| parent | drm/i915/opregion: fix version check (diff) | |
| download | kernel-16eb0f34cdf4cf04cd92762c7a79f98aa51e053f.tar.gz kernel-16eb0f34cdf4cf04cd92762c7a79f98aa51e053f.zip | |
drm/i915/opregion: rvda is relative from opregion base in opregion 2.1+
Starting from opregion version 2.1 (roughly corresponding to ICL+) the
RVDA field is relative from the beginning of opregion, not absolute
address.
Fix the error path while at it.
v2: Make relative vs. absolute conditional on the opregion version,
bumped for the purpose. Turned out there are machines relying on
absolute RVDA in the wild.
v3: Fix the version checks
Fixes: 04ebaadb9f2d ("drm/i915/opregion: handle VBT sizes bigger than 6 KB")
Cc: Ville Syrjälä <[email protected]>
Cc: Imre Deak <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit a0f52c3d357af218a9c1f7cd906ab70426176a1a)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions
