diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-09-25 11:45:38 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-01 01:45:39 -0400 |
commit | 6ce70f5e8a13c1673e2926453ea4313eb97707e0 (patch) | |
tree | 6f3b66a41d152f3aa2d7bea7f9adb02012ca82ee /drivers/gpu/drm/i915/intel_display.c | |
parent | 241bfc389111ce4c997430e6cd1532a08b16dc6b (diff) |
drm/i915: Ask the DRM core do make stereo timings adjustements
When scanning out big stereo buffers that are actually bigger that their
natural 2D counterpart, we need to blow up the crtc timings as well.
Not that this is only done for frame packing as this is the only stereo
mode currently exposed needing this kind of ajdustements.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 3085da1487c2..386465fdcbee 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -8468,7 +8468,7 @@ encoder_retry: | |||
8468 | pipe_config->pixel_multiplier = 1; | 8468 | pipe_config->pixel_multiplier = 1; |
8469 | 8469 | ||
8470 | /* Fill in default crtc timings, allow encoders to overwrite them. */ | 8470 | /* Fill in default crtc timings, allow encoders to overwrite them. */ |
8471 | drm_mode_set_crtcinfo(&pipe_config->adjusted_mode, 0); | 8471 | drm_mode_set_crtcinfo(&pipe_config->adjusted_mode, CRTC_STEREO_DOUBLE); |
8472 | 8472 | ||
8473 | /* Pass our mode to the connectors and the CRTC to give them a chance to | 8473 | /* Pass our mode to the connectors and the CRTC to give them a chance to |
8474 | * adjust it according to limitations or connector properties, and also | 8474 | * adjust it according to limitations or connector properties, and also |