diff options
| author | Shashank Sharma <[email protected]> | 2017-07-21 20:55:04 +0530 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-07-27 09:38:55 +0200 |
| commit | 60436fd4d263f23fd4d7805b8d4b8bbb5eef5bd1 (patch) | |
| tree | 6df1d5dfb777cc8a2cb886faadf3099f64b1edcc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 965a79ad417f9ed6304fd106ffd3dbd1cc65ecfc (diff) | |
drm/i915: add config function for YCBCR420 outputs
This patch checks encoder level support for YCBCR420 outputs.
The logic goes as simple as this:
If the input mode is YCBCR420-only mode: prepare HDMI for
YCBCR420 output, else continue with RGB output mode.
It checks if the mode is YCBCR420 and source can support this
output then it marks the ycbcr_420 output indicator into crtc
state, for further staging in driver.
V2: Split the patch into two, kept helper functions in DRM layer.
V3: Changed the compute_config function based on new DRM API.
V4: Rebase
V5: Rebase
V6: Check and handle YCBCR420-only modes, discard the property
based approach (Ville)
V7: Addressed review comments from Ville
- add else case in 12BPC check.
- extract ycbcr420 state inside hdmi_12bpc_possible function.
V8: Addressed review comments from Ville
- Remove extra blank lines.
- Remove "HDMI" from the description of ycbcr420 state variable.
- Remove local variable, use crtc_state->ycbcr420 instead.
Added r-b from Ville.
V9: Rebase
V10: Added r-b from Imre
Cc: Ville Syrjala <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Ander Conselvan de Oliveira <[email protected]>
Reviewed-by: Ville Syrjala <[email protected]>
Reviewed-by: Imre Deak <[email protected]>
Signed-off-by: Shashank Sharma <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions