]> git.baikalelectronics.ru Git - kernel.git/commit
drm/simple-helpers: Always add planes to the state update
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Aug 2016 06:25:40 +0000 (08:25 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 25 Aug 2016 18:46:03 +0000 (20:46 +0200)
commitaef6847ed9e3bdc4183ddae5a02b6be5a2a379ef
treea8240fe21fd650fd17b41bd656efa9f12abe3a20
parent69ef49e5392b63a0cea269c9b2ad70466b4c971a
drm/simple-helpers: Always add planes to the state update

Our update function is hooked to the single plane, which might not get
called for crtc-only updates. Which is surprising, so fix this by
always adding the plane.

While at it document how&when the event should be sent out better in
the kerneldoc.

Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: andrea.merello@gmail.com
Tested-and-Reported-by: andrea.merello@gmail.com
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1471933540-31131-1-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_simple_kms_helper.c
include/drm/drm_simple_kms_helper.h