diff options
| author | Manasi Navare <[email protected]> | 2018-10-30 17:19:21 -0700 |
|---|---|---|
| committer | Manasi Navare <[email protected]> | 2018-10-31 14:09:44 -0700 |
| commit | d9218c8f6cf43bc0db5422e6b05b9e487c400a23 (patch) | |
| tree | 7d3cc681eec9967e911de82593d1a3a6b8967c1b /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0575650077eae2a431f33532de4e15405cc9f653 (diff) | |
drm/i915/dp: Add helpers for Compressed BPP and Slice Count for DSC
This patch adds helpers for calculating the maximum compressed BPP
supported with small joiner.
This also adds a helper for calculating the slice count in case
of small joiner.
These are inside intel_dp since they take into account hardware
limitations.
v6:
* Take mode_clock and mode_hdisplay as input arguments
so that this can be called in intel_dp_mode_valid (Manasi)
v5:
* Get the max slice width from DPCD
* Check against Min_Slice_width of 2560 (Anusha)
v4:
* #defines for PPR in slice count helper (Gaurav)
v3:
* Simply logic for bpp (DK)
* Limit the valid slice count by max supported by Sink (Manasi)
v2:
* Change the small joiner RAM buffer constant as bspec changed (Manasi)
* rename it as SMALL_JOINER since we are not enabling
big joiner yet (Anusha)
Cc: Gaurav K Singh <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Ville Syrjala <[email protected]>
Cc: Anusha Srivatsa <[email protected]>
Cc: Dhinakaran Pandiyan <[email protected]>
Signed-off-by: Manasi Navare <[email protected]>
Reviewed-by: Anusha Srivatsa <[email protected]>
Reviewed-by: Gaurav K Singh <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions