On Tue, Aug 25, 2015 at 12:35 PM, Rob Clark robdclark@gmail.com wrote:
Convert fb-helper, or at least the two code-paths which potentially trigger more than a single update, to use atomic API if the driver supports it.
The first patch is slightly unrelated, but I needed to add kerneldoc for 'struct drm_fb_helper' before I could add kerneldoc for the new atomic field. Danvet tricked me into writing some kerneldoc that way.
In theory, after this, we can re-introduce the ww_acquire_fini() call.
Rob Clark (4): drm/fb-helper: add headerdoc for drm_fb_helper drm/fb-helper: atomic restore_fbdev_mode().. drm/fb-helper: atomic pan_display().. drm/i915: enable atomic fb-helper
Ok I applied the small comment bikesheds to patch 2 and merged all four to drm-misc.
Thanks, Daniel
drivers/gpu/drm/drm_atomic_helper.c | 131 +++++++++++++++++++++--------------- drivers/gpu/drm/drm_fb_helper.c | 131 ++++++++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/intel_fbdev.c | 2 + include/drm/drm_atomic_helper.h | 6 ++ include/drm/drm_fb_helper.h | 22 ++++++ 5 files changed, 239 insertions(+), 53 deletions(-)
-- 2.4.3