05 Oct, 2016
1 commit
-
Add .prepare_fb and .cleanup_fb plane hooks into the drm_simple_kms.
These can be used by drivers to call ie. the drm_fb_cma_setup_fence()
helper.Signed-off-by: Marek Vasut
Cc: Noralf Trønnes
Cc: Daniel Vetter
Cc: David Airlie
Signed-off-by: Daniel Vetter
Link: http://patchwork.freedesktop.org/patch/msgid/20161002170124.6099-1-marex@denx.de
29 Aug, 2016
1 commit
-
Introduce drm_simple_display_pipe_attach_bridge() and
drm_simple_display_pipe_detach_bridge() in order to make it possible to use
drm encoders with the simple display pipes managed by simple_kms_helpersSuggested-by: Daniel Vetter
Signed-off-by: Andrea Merello
Reviewed-by: Daniel Vetter
Cc: Noralf Trønnes
Cc: Daniel Vetter
Cc: David Airlie
Signed-off-by: Archit Taneja
Link: http://patchwork.freedesktop.org/patch/msgid/1472115874-6219-3-git-send-email-andrea.merello@gmail.com
26 Aug, 2016
1 commit
-
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
Cc: andrea.merello@gmail.com
Tested-and-Reported-by: andrea.merello@gmail.com
Signed-off-by: Daniel Vetter
Reviewed-by: Noralf Trønnes
Signed-off-by: Daniel Vetter
Link: http://patchwork.freedesktop.org/patch/msgid/1471933540-31131-1-git-send-email-daniel.vetter@ffwll.ch
10 Jun, 2016
1 commit
-
Provides helper functions for drivers that have a simple display
pipeline. Plane, crtc and encoder are collapsed into one entity.Changes since v4:
- Remove drm_connector_register() call
- Forgot to assign pipe->connectorChanges since v3:
- (struct drm_simple_display_pipe *)->funcs should be constChanges since v2:
- Drop Kconfig knob DRM_KMS_HELPER
- Expand documentationChanges since v1:
- Add DOC header and add to gpu.tmpl
- Fix docs: @funcs is optional, "negative error code",
"This hook is optional."
- Add checks to drm_simple_kms_plane_atomic_check()Cc: jsarha@ti.com
Signed-off-by: Noralf Trønnes
Signed-off-by: Daniel Vetter
Link: http://patchwork.freedesktop.org/patch/msgid/1465570559-14238-1-git-send-email-noralf@tronnes.org