diff options
author | Mika Kahola <[email protected]> | 2021-11-19 15:13:47 +0200 |
---|---|---|
committer | Stanislav Lisovskiy <[email protected]> | 2021-12-07 16:54:06 +0200 |
commit | 77ab3a1ecb1986c17644c48b66d9de0a9a0307c9 (patch) | |
tree | d1a83cf17010a20413c6fec02dfe9a15cb385721 /scripts/gdb/linux/tasks.py | |
parent | 2060a6895b768d907fd3efa9f52981e615171ec2 (diff) |
drm/i915/display/dg2: Read CD clock from squasher table
To calculate CD clock with squasher unit, we set CD clock ratio to fixed value of 34.
The CD clock value is read from CD clock squasher table.
BSpec: 54034
v2: Read ratio from register (Ville)
Drop unnecessary local variable (Ville)
Get CD clock from the given table
v3: Calculate CD clock frequency based on waveform bit pattern (Ville)
[v4: vsyrjala: Actually do a proper blind readout from the hardware]
[v5: vsyrjala: Use has_cdclk_squasher()]
Signed-off-by: Mika Kahola <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Stanislav Lisovskiy <[email protected]>
Signed-off-by: Stanislav Lisovskiy <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions