diff options
| author | Matt Roper <[email protected]> | 2019-08-29 17:48:28 -0700 |
|---|---|---|
| committer | Matt Roper <[email protected]> | 2019-08-30 15:43:19 -0700 |
| commit | 385ba629aa1cdca5373c1fdbf6693ade5062ad27 (patch) | |
| tree | 4d8dc396138e94ef458ffb61583ddce5c6b84826 /tools/perf/scripts/python | |
| parent | 7bff9779d76917adfa7c67712aa6ae3b7e5098ba (diff) | |
drm/i915: Allow /2 CD2X divider on gen11+
The bspec has just recently been updated with new cdclk values that
require the use of a /2 CD2X divider rather than a /1 divider. Once we
add the divider selection logic to ICL+ cdclk programming, we have
pretty much the same logic we were already using on CNL, so it's simpler
to drop icl_set_cdclk() completely and reuse cnl_set_cdclk() on gen11+
platforms as well.
v2:
- Using ICL_CDCLK_CD2X_PIPE_NONE + BXT_CDCLK_CD2X_PIPE(pipe) for TGL is
correct, but looks really confusing. Add some TGL_ macros that alias
these to avoid confusion. (Ville)
- Use DIV_ROUND_CLOSEST rather than / when applying the divider. (Ville)
Cc: José Roberto de Souza <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Reviewed-by: Ville Syrjälä <[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