diff options
| author | José Roberto de Souza <[email protected]> | 2019-09-04 14:34:15 -0700 |
|---|---|---|
| committer | José Roberto de Souza <[email protected]> | 2019-09-04 17:03:35 -0700 |
| commit | 8241cfbe67f4082eee5fc72e5a8025c5b58c2ddf (patch) | |
| tree | 2c14871c89366e5cc8433a66ed8a5f81e6380904 /tools/perf/scripts/python | |
| parent | 2f3b87124b9f08518b43abf2266035dd22fdbd3c (diff) | |
drm/i915/tgl: Access the right register when handling PSR interruptions
For older gens PSR IIR and IMR have fixed addresses. From TGL onwards those
registers moved to each transcoder offset. The bits for the registers
are defined without an offset per transcoder as right now we have one
register per transcoder. So add a fake "trans_shift" when calculating
the bits offsets: it will be 0 for gen12+ and psr.transcoder otherwise.
v2 (Lucas): change the implementation to use trans_shift instead of
getting each bit value with a different macro
Cc: Imre Deak <[email protected]>
Cc: Dhinakaran Pandiyan <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions