diff options
| author | Nicholas Kazlauskas <[email protected]> | 2020-02-03 09:18:45 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-02-11 11:51:01 -0500 |
| commit | 9a14e81649382c7eb80e7165222c31751225cd81 (patch) | |
| tree | 84d59c8aa02fb2488e50f326f1a81f96d7cc8a01 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 115c7e7f0501716c05d2df5b1b9e06df9241a48c (diff) | |
drm/amd/display: Use fb_base/fb_offset if available for translation
[Why]
In the case where we do have these passed in then we should be using
these instead of the registers - those are only programmed when booting
the adapter as primary.
[How]
Check if fb_base/fb_offset are non-zero. The value of 0 is invalid
for fb_base but is valid for fb_offset on dGPU.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Reviewed-by: Yongqiang Sun <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions