diff options
| author | Gustavo Padovan <[email protected]> | 2014-12-01 15:40:09 -0800 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2014-12-05 21:20:25 +0100 |
| commit | ecb7e16bf187bc369cf6a5cd108582c01329980d (patch) | |
| tree | b9108c1f6b932b0cf1110085e4ca4a3254667472 /tools/perf/scripts/python | |
| parent | 93dc1b6529eb8acd98243caaf399daf3c2c665bd (diff) | |
drm: add helper to get crtc timings (v5)
We need to get hdisplay and vdisplay in a few places so create a
helper to make our job easier.
Note that drm_crtc_check_viewport() and intel_modeset_pipe_config() were
previously making adjustments for doublescan modes and vscan > 1 modes,
which was incorrect. Using our new helper fixes this mistake.
v2 (by Matt): Use new stereo doubling function (suggested by Ville)
v3 (by Matt):
- Add missing kerneldoc (Daniel)
- Use drm_mode_copy() (Jani)
v4 (by Matt):
- Drop stereo doubling function again; add 'stereo only' flag
to drm_mode_set_crtcinfo() instead (Ville)
v5 (by Matt):
- Note behavioral change in drm_crtc_check_viewport() and
intel_modeset_pipe_config(). (Ander)
- Describe new adjustment flags in drm_mode_set_crtcinfo()'s
kerneldoc. (Ander)
Cc: [email protected]
Suggested-by: Ville Syrjälä <[email protected]>
Signed-off-by: Gustavo Padovan <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Reviewed-by: Ander Conselvan de Oliveira <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions