Thomas Gleixner
caab277b1d
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234
...
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation this program is
distributed in the hope that it will be useful but without any
warranty without even the implied warranty of merchantability or
fitness for a particular purpose see the gnu general public license
for more details you should have received a copy of the gnu general
public license along with this program if not see http www gnu org
licenses
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 503 file(s).
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Alexios Zavras <[email protected] >
Reviewed-by: Allison Randal <[email protected] >
Reviewed-by: Enrico Weigelt <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2019-06-19 17:09:07 +02:00
Eric Anholt
c9be804c8c
drm/vc4: Use common helpers for debugfs setup by the driver components.
...
The global list of all debugfs entries for the driver was painful: the
list couldn't see into the components' structs, so each component had
its own debugs show function to find the component, then find the
regset and dump it. The components also had to be careful to check
that they were actually registered in vc4 before dereferencing
themselves, in case they weren't probed on a particular platform.
They routinely failed at that.
Instead, we can have the components add their debugfs callbacks to a
little list in vc4 to be registered at drm_dev_register() time, which
gets vc4_debugfs.c out of the business of knowing the whole list of
components.
Thanks to this change, dsi0 (if it existed) would register its node.
v2: Rebase on hvs_underrun addition.
v3: whitespace fixup
Signed-off-by: Eric Anholt <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Paul Kocialkowski <[email protected] >
2019-04-03 12:49:13 -07:00
Eric Anholt
3051719af1
drm/vc4: Use drm_print_regset32() for our debug register dumping.
...
This removes a bunch of duplicated boilerplate for the debugfs vs
runtime printk debug dumping.
Signed-off-by: Eric Anholt <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Paul Kocialkowski <[email protected] >
2019-04-01 10:44:34 -07:00
Daniel Vetter
fcd70cd36b
drm: Split out drm_probe_helper.h
...
Having the probe helper stuff (which pretty much everyone needs) in
the drm_crtc_helper.h file (which atomic drivers should never need) is
confusing. Split them out.
To make sure I actually achieved the goal here I went through all
drivers. And indeed, all atomic drivers are now free of
drm_crtc_helper.h includes.
v2: Make it compile. There was so much compile fail on arm drivers
that I figured I'll better not include any of the acks on v1.
v3: Massive rebase because i915 has lost a lot of drmP.h includes, but
not all: Through drm_crtc_helper.h > drm_modeset_helper.h -> drmP.h
there was still one, which this patch largely removes. Which means
rolling out lots more includes all over.
This will also conflict with ongoing drmP.h cleanup by others I
expect.
v3: Rebase on top of atomic bochs.
v4: Review from Laurent for bridge/rcar/omap/shmob/core bits:
- (re)move some of the added includes, use the better include files in
other places (all suggested from Laurent adopted unchanged).
- sort alphabetically
v5: Actually try to sort them, and while at it, sort all the ones I
touch.
v6: Rebase onto i915 changes.
v7: Rebase once more.
Acked-by: Harry Wentland <[email protected] >
Acked-by: Sam Ravnborg <[email protected] >
Cc: Sam Ravnborg <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Laurent Pinchart <[email protected] >
Acked-by: Rodrigo Vivi <[email protected] >
Acked-by: Benjamin Gaignard <[email protected] >
Acked-by: Jani Nikula <[email protected] >
Acked-by: Neil Armstrong <[email protected] >
Acked-by: Oleksandr Andrushchenko <[email protected] >
Acked-by: CK Hu <[email protected] >
Acked-by: Alex Deucher <[email protected] >
Acked-by: Sam Ravnborg <[email protected] >
Reviewed-by: Laurent Pinchart <[email protected] >
Acked-by: Liviu Dudau <[email protected] >
Signed-off-by: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2019-01-24 13:20:42 +01:00
Daniel Vetter
cde4c44d87
drm: drop _mode_ from drm_mode_connector_attach_encoder
...
Again to align with the usual prefix of just drm_connector_. Again
done with sed + manual fixup for indent issues.
Reviewed-by: Sean Paul <[email protected] >
Signed-off-by: Daniel Vetter <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2018-07-13 18:40:27 +02:00
Daniel Vetter
7d902c05b4
drm: Nuke drm_atomic_helper_connector_dpms
...
It's dead code, the core handles all this directly now.
The only special case is nouveau and tda988x which used one function
for both legacy modeset code and -nv50 atomic world instead of 2
vtables. But amounts to exactly the same.
v2: Rebase over the panel/brideg refactorings in stm/ltdc.
Signed-off-by: Daniel Vetter <[email protected] >
Cc: Archit Taneja <[email protected] >
Cc: Andrzej Hajda <[email protected] >
Cc: Laurent Pinchart <[email protected] >
Cc: Peter Senna Tschudin <[email protected] >
Cc: Martin Donnelly <[email protected] >
Cc: Martyn Welch <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Sean Paul <[email protected] >
Cc: David Airlie <[email protected] >
Cc: Inki Dae <[email protected] >
Cc: Joonyoung Shim <[email protected] >
Cc: Seung-Woo Kim <[email protected] >
Cc: Kyungmin Park <[email protected] >
Cc: Kukjin Kim <[email protected] >
Cc: Krzysztof Kozlowski <[email protected] >
Cc: Stefan Agner <[email protected] >
Cc: Alison Wang <[email protected] >
Cc: Russell King <[email protected] >
Cc: Philipp Zabel <[email protected] >
Cc: CK Hu <[email protected] >
Cc: Matthias Brugger <[email protected] >
Cc: Neil Armstrong <[email protected] >
Cc: Carlo Caione <[email protected] >
Cc: Kevin Hilman <[email protected] >
Cc: Marek Vasut <[email protected] >
Cc: Ben Skeggs <[email protected] >
Cc: Tomi Valkeinen <[email protected] >
Cc: Eric Anholt <[email protected] >
Cc: Mark Yao <[email protected] >
Cc: Heiko Stuebner <[email protected] >
Cc: Benjamin Gaignard <[email protected] >
Cc: Vincent Abriou <[email protected] >
Cc: Yannick Fertre <[email protected] >
Cc: Philippe Cornu <[email protected] >
Cc: Maxime Ripard <[email protected] >
Cc: Chen-Yu Tsai <[email protected] >
Cc: Thierry Reding <[email protected] >
Cc: Jonathan Hunter <[email protected] >
Cc: Jyri Sarha <[email protected] >
Cc: Gerd Hoffmann <[email protected] >
Cc: Shawn Guo <[email protected] >
Cc: John Stultz <[email protected] >
Cc: Lars-Peter Clausen <[email protected] >
Cc: Sergei Shtylyov <[email protected] >
Cc: Jeffy Chen <[email protected] >
Cc: Tomeu Vizoso <[email protected] >
Cc: Yakir Yang <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Jose Abreu <[email protected] >
Cc: Romain Perier <[email protected] >
Cc: Kieran Bingham <[email protected] >
Cc: Xinliang Liu <[email protected] >
Cc: Alexey Brodkin <[email protected] >
Cc: Alex Deucher <[email protected] >
Cc: Rongrong Zou <[email protected] >
Cc: Rob Clark <[email protected] >
Cc: Hai Li <[email protected] >
Cc: "Noralf Trønnes" <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: zain wang <[email protected] >
Cc: Baoyou Xie <[email protected] >
Cc: Boris Brezillon <[email protected] >
Reviewed-by: Maarten Lankhorst <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Acked-by: Neil Armstrong <[email protected] >
Reviewed-by: Neil Armstrong <[email protected] >
Acked-by: Philipp Zabel <[email protected] >
Acked-by: Archit Taneja <[email protected] >
Tested-by: Philippe Cornu <[email protected] > (on stm)
Reviewed-by: Laurent Pinchart <[email protected] >
Acked-by: Shawn Guo <[email protected] >
Acked-by: Shawn Guo <[email protected] >
Acked-by: Noralf Trønnes <[email protected] >
Acked-by: Vincent Abriou <[email protected] >
2017-08-08 14:48:48 +02:00
Daniel Vetter
482b0e3c2f
drm: Nuke drm_atomic_helper_connector_set_property
...
It's dead code, the core handles all this directly now. This also
allows us to unexport drm_atomic_helper_connector_set_property.
The only special case is nouveau which used one function for both
pre-nv50 legacy modeset code and post-nv50 atomic world instead of 2
vtables. But amounts to exactly the same.
What is rather strange here is how few drivers set this up, I suspect
the earlier patch to handle properties in the core did end up fixing a
pile of possible issues.
Signed-off-by: Daniel Vetter <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Sean Paul <[email protected] >
Cc: David Airlie <[email protected] >
Cc: Ben Skeggs <[email protected] >
Cc: Benjamin Gaignard <[email protected] >
Cc: Vincent Abriou <[email protected] >
Cc: Eric Anholt <[email protected] >
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Maarten Lankhorst <[email protected] >
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Acked-by: Vincent Abriou <[email protected] >
2017-08-08 14:47:37 +02:00
Eric Anholt
f6c01530fd
drm/vc4: Extend and edit documentation for output from the RST
...
I had written most of my comments as if I was describing the
individual code files the way I used to for doxygen, while for RST we
want to describe things in a more chapter/section way where there's no
obvious relation to .c files.
Additionally, several of the files had stub descriptions that I've
taken this opportunity to extend.
Signed-off-by: Eric Anholt <[email protected] >
Acked-by: Daniel Vetter <[email protected] >
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
2017-02-28 12:51:49 -08:00
Boris Brezillon
e4b81f8c74
drm/vc4: Add support for the VEC (Video Encoder) IP
...
The VEC IP is a TV DAC, providing support for PAL and NTSC standards.
Signed-off-by: Boris Brezillon <[email protected] >
Signed-off-by: Eric Anholt <[email protected] >
2016-12-09 15:26:31 -08:00