diff options
| author | Ville Syrjälä <[email protected]> | 2020-09-18 00:43:35 +0300 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2020-09-24 19:53:16 +0300 |
| commit | 0bf8dedc763aa7abe4b03d67d7697ccc2b72430a (patch) | |
| tree | c391b509c955949d669999de1f1702104e3d87f1 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | f1bce832500ea2c7903382ee4217e2e5e6eb6953 (diff) | |
drm/i915: Use the correct bpp when validating "4:2:0 only" modes
When validating a "YCbCr 4:2:0 only" mode we must take into
account the fact that we're going to be outputting YCbCr
4:2:0 or 4:4:4 (when a DP->HDMI protocol converter is doing
the 4:2:0 downsampling). For YCbCr 4:4:4 the minimum output
bpc is 8, for YCbCr 4:2:0 it'll be half that. The currently
hardcoded 6bpc is only correct for RGB 4:4:4, which we will
never use with these kinds of modes. Figure out what we're
going to output and use the correct min bpp value to validate
whether the link has sufficient bandwidth.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Manasi Navare <[email protected]>
Reviewed-by: Vandita Kulkarni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions