]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/drm/drm_simple_kms_helper.h
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)
commit6dcf0de7ef10244b17442f47956a1d9fabe2abe1
treea8240fe21fd650fd17b41bd656efa9f12abe3a20
parenta8c798186b932e048abfd0adbec295e9a0cc847a
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