]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Implement timings adjustments for frame packing
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 25 Sep 2013 15:45:35 +0000 (16:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:36 +0000 (07:45 +0200)
commit15e8d3ac06e901e9b98a3391dc28e11ecdea6370
treef1edc83da4d75c67de279c6cb2b442a88a2b262b
parent6e4944c83c6d33db1213a7dc4b44290cc50347e5
drm: Implement timings adjustments for frame packing

When using the frame packing and a single big framebuffer, some hardware
requires that we do everything like if we were scanning out the big
buffer itself. Let's instrument drm_mode_set_crtcinfo() to be able to do
this adjustement if the driver is asking for it.

v2: Use crtc_vtotal and multiply the clock by 2 instead of
    reconstructing it (Ville Syrjälä)

Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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>
drivers/gpu/drm/drm_modes.c
include/drm/drm_crtc.h