Dave Airlie
f3294568bb
Merge tag 'drm-misc-fixes-2018-06-21' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
...
Fixes for v4.18-rc2:
- A reversion of a commit in drm/sun4i to fix a run-time fault.
- Various fixes to the sii8620 bridge.
- Small bugfix to correctly check stride in atmel-hlcdc.
Signed-off-by: Dave Airlie <airlied@redhat.com >
Link: https://patchwork.freedesktop.org/patch/msgid/787d4bef-a579-4046-d0fc-f8c2c5b80c25@linux.intel.com
2018-06-22 11:03:43 +10:00
Maciej Purski
e8b92efa62
drm/bridge/sii8620: fix display of packed pixel modes in MHL2
...
Currently packed pixel modes in MHL2 can't be displayed. The device
automatically recognizes output format, so setting format other than
RGB causes failure. Fix it by writing proper values to registers.
Tested on MHL1 and MHL2 using various vendors' dongles both in
DVI and HDMI mode.
Signed-off-by: Maciej Purski <m.purski@samsung.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/1516706239-9104-1-git-send-email-m.purski@samsung.com
2018-06-21 10:16:24 +02:00
Maciej Purski
c7d6d511eb
drm/bridge/sii8620: fix HDMI cable connection to dongle
...
MHL bridge is usually connected to TV via MHL dongle. Currently plugging
HDMI cable to dongle is handled improperly.
Fix it by splitting connecting of a dongle and a HDMI cable. The driver
should now handle unplugging a sink from a dongle and plugging a
different sink with new edid.
Tested on MHL1, MHL2 and MHL3 using various vendors' dongles both in
DVI and HDMI mode.
Signed-off-by: Maciej Purski <m.purski@samsung.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/1516705996-8928-1-git-send-email-m.purski@samsung.com
2018-06-13 16:26:57 +02:00
Maciej Purski
95e8522588
drm/bridge/sii8620: remove HSIC initialization
...
HSIC initialization was taken from the vendor code. HSIC in MHL circuit
is not connected, so it is not possible to test it. Tests prove that
without HSIC the device works well. Therefore it can be removed.
Signed-off-by: Maciej Purski <m.purski@samsung.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/1511968368-30884-1-git-send-email-m.purski@samsung.com
2018-06-13 16:26:57 +02:00
Maciej Purski
bbc05e172f
drm/bridge/sii8620: start MHL transmission after HDMI signal detection
...
The vendor code waits for infoframe to detect video mode set by source.
We do not need to follow this pattern, because video mode information is
provided by drm core. As a result most of the infoframe handling
code can be removed.
Start transmission immediately after detecting stream on HDMI lines
in irq_scdt() function without waiting for infoframe interrupt.
Signed-off-by: Maciej Purski <m.purski@samsung.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/1511956130-24482-1-git-send-email-m.purski@samsung.com
2018-06-13 16:26:57 +02:00
Maciej Purski
9378cecb1c
drm/bridge/sii8620: fix potential buffer overflow
...
Buffer overflow error should not occur, as mode_fixup() callback
filters pixel clock value and it should never exceed 600000. However,
current implementation is not obviously safe and relies on
implementation of mode_fixup().
Make 'i' variable never reach unsafe value in order to avoid buffer
overflow error.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com >
Fixes: bf1722ca
("drm/bridge/sii8620: rewrite hdmi start sequence")
Signed-off-by: Maciej Purski <m.purski@samsung.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/1511341718-6974-1-git-send-email-m.purski@samsung.com
2018-06-13 16:26:57 +02:00
Maciej Purski
ecba7cfa3a
drm/bridge/sii8620: fix display modes validation
...
Current implementation of mode_valid() and mode_fixup() callbacks
handle packed pixel modes improperly.
Fix it by using proper maximum clock values from the documentation.
Signed-off-by: Maciej Purski <m.purski@samsung.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/1517568865-25219-1-git-send-email-m.purski@samsung.com
2018-06-13 16:26:57 +02:00
Andrzej Hajda
8e627a1b1c
drm/bridge/sii8620: fix loops in EDID fetch logic
...
Function should constantly check if cable is connected and finish
in finite time.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Maciej Purski <m.purski@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180115173357.31067-4-a.hajda@samsung.com
2018-06-13 16:27:32 +02:00
Andrzej Hajda
8efaac07d7
drm/bridge/sii8620: simplify hardware reset procedure
...
There is no need to flip reset pin twice. Also delays can be changed to
values present in vendor's code.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Maciej Purski <m.purski@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180608060457.18357-1-a.hajda@samsung.com
2018-06-13 16:26:57 +02:00
Linus Torvalds
135c5504a6
Merge tag 'drm-next-2018-06-06-1' of git://anongit.freedesktop.org/drm/drm
...
Pull drm updates from Dave Airlie:
"This starts to support NVIDIA volta hardware with nouveau, and adds
amdgpu support for the GPU in the Kabylake-G (the intel + radeon
single package chip), along with some initial Intel icelake enabling.
Summary:
New Drivers:
- v3d - driver for broadcom V3D V3.x+ hardware
- xen-front - XEN PV display frontend
core:
- handle zpos normalization in the core
- stop looking at legacy pointers in atomic paths
- improved scheduler documentation
- improved aspect ratio validation
- aspect ratio support for 64:27 and 256:135
- drop unused control node code.
i915:
- Icelake (ICL) enabling
- GuC/HuC refactoring
- PSR/PSR2 enabling and fixes
- DPLL management refactoring
- DP MST fixes
- NV12 enabling
- HDCP improvements
- GEM/Execlist/reset improvements
- GVT improvements
- stolen memory first 4k fix
amdgpu:
- Vega 20 support
- VEGAM support (Kabylake-G)
- preOS scanout buffer reservation
- power management gfxoff support for raven
- SR-IOV fixes
- Vega10 power profiles and clock voltage control
- scatter/gather display support on CZ/ST
amdkfd:
- GFX9 dGPU support
- userptr memory mapping
nouveau:
- major refactoring for Volta GV100 support
tda998x:
- HDMI i2c CEC support
etnaviv:
- removed unused logging code
- license text cleanups
- MMU handling improvements
- timeout fence fix for 50 days uptime
tegra:
- IOMMU support in gr2d/gr3d drivers
- zpos support
vc4:
- syncobj support
- CTM, plane alpha and async cursor support
analogix_dp:
- HPD and aux chan fixes
sun4i:
- MIPI DSI support
tilcdc:
- clock divider fixes for OMAP-l138 LCDK board
rcar-du:
- R8A77965 support
- dma-buf fences fixes
- hardware indexed crtc/du group handling
- generic zplane property support
atmel-hclcdc:
- generic zplane property support
mediatek:
- use generic video mode function
exynos:
- S5PV210 FIMD variant support
- IPP v2 framework
- more HW overlays support"
* tag 'drm-next-2018-06-06-1' of git://anongit.freedesktop.org/drm/drm: (1286 commits)
drm/amdgpu: fix 32-bit build warning
drm/exynos: fimc: signedness bug in fimc_setup_clocks()
drm/exynos: scaler: fix static checker warning
drm/amdgpu: Use dev_info() to report amdkfd is not supported for this ASIC
drm/amd/display: Remove use of division operator for long longs
drm/amdgpu: Update GFX info structure to match what vega20 used
drm/amdgpu/pp: remove duplicate assignment
drm/sched: add rcu_barrier after entity fini
drm/amdgpu: move VM BOs on LRU again
drm/amdgpu: consistenly use VM moved flag
drm/amdgpu: kmap PDs/PTs in amdgpu_vm_update_directories
drm/amdgpu: further optimize amdgpu_vm_handle_moved
drm/amdgpu: cleanup amdgpu_vm_validate_pt_bos v2
drm/amdgpu: rework VM state machine lock handling v2
drm/amdgpu: Add runtime VCN PG support
drm/amdgpu: Enable VCN static PG by default on RV
drm/amdgpu: Add VCN static PG support on RV
drm/amdgpu: Enable VCN CG by default on RV
drm/amdgpu: Add static CG control for VCN on RV
drm/exynos: Fix default value for zpos plane property
...
2018-06-06 08:16:33 -07:00
Neil Armstrong
c32048d9e9
drm/bridge/synopsys: dw-hdmi: fix dw_hdmi_setup_rx_sense
...
The dw_hdmi_setup_rx_sense exported function should not use struct device
to recover the dw-hdmi context using drvdata, but take struct dw_hdmi
directly like other exported functions.
This caused a regression using Meson DRM on S905X since v4.17-rc1 :
Internal error: Oops: 96000007 [#1 ] PREEMPT SMP
[...]
CPU: 0 PID: 124 Comm: irq/32-dw_hdmi_ Not tainted 4.17.0-rc7 #2
Hardware name: Libre Technology CC (DT)
[...]
pc : osq_lock+0x54/0x188
lr : __mutex_lock.isra.0+0x74/0x530
[...]
Process irq/32-dw_hdmi_ (pid: 124, stack limit = 0x00000000adf418cb)
Call trace:
osq_lock+0x54/0x188
__mutex_lock_slowpath+0x10/0x18
mutex_lock+0x30/0x38
__dw_hdmi_setup_rx_sense+0x28/0x98
dw_hdmi_setup_rx_sense+0x10/0x18
dw_hdmi_top_thread_irq+0x2c/0x50
irq_thread_fn+0x28/0x68
irq_thread+0x10c/0x1a0
kthread+0x128/0x130
ret_from_fork+0x10/0x18
Code: 34000964 d00050a2 51000484 9135c042 (f864d844)
---[ end trace 945641e1fbbc07da ]---
note: irq/32-dw_hdmi_[124] exited with preempt_count 1
genirq: exiting task "irq/32-dw_hdmi_" (124) is an active IRQ thread (irq 32)
Fixes: eea034af90
("drm/bridge/synopsys: dw-hdmi: don't clobber drvdata")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com >
Tested-by: Koen Kooi <koen@dominion.thruhere.net >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Link: https://patchwork.freedesktop.org/patch/msgid/1527673438-20643-1-git-send-email-narmstrong@baylibre.com
2018-05-30 13:42:39 -04:00
Dave Airlie
1fafef9dfe
Merge drm-fixes-for-v4.17-rc6-urgent into drm-next
...
Need to backmerge some nouveau fixes to reduce
the nouveau -next conflicts a lot.
Signed-off-by: Dave Airlie <airlied@redhat.com >
2018-05-18 14:08:53 +10:00
Dave Airlie
2045b22461
Merge tag 'drm-misc-next-2018-05-15' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
...
drm-misc-next for v4.18:
UAPI Changes:
- Fix render node number regression from control node removal.
Driver Changes:
- Small header fix for virgl, used by qemu.
- Use vm_fault_t in qxl.
Signed-off-by: Dave Airlie <airlied@redhat.com >
# gpg: Signature made Tue 15 May 2018 06:16:03 PM AEST
# gpg: using RSA key FE558C72A67013C3
# gpg: Can't check signature: public key not found
Link: https://patchwork.freedesktop.org/patch/msgid/e63306b9-67a0-74ab-8883-08b3d9db72d2@mblankhorst.nl
2018-05-15 19:25:07 +10:00
Dave Airlie
444ac87bec
Merge tag 'exynos-drm-next-for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
...
- Add S5PV210 FIMD variant support.
- Add IPP v2 framework.
. it is a rewritten version of the Exynos mem-to-mem image processing
framework which supprts color space conversion, image up/down-scaling
and rotation. This new version replaces existing userspace API with
new easy-to-use and simple ones so we have already applied the use of
these API to real user, Tizen Platform[1], and also makes existing
Scaler, FIMC, GScaler and Rotator drivers to use IPP v2 core API.
And below are patch lists we have applied to a real user,
https://git.tizen.org/cgit/platform/adaptation/samsung_exynos/libtdm-exynos/log/?h=tizen&qt=grep&q=ipp
https://git.tizen.org/cgit/platform/adaptation/samsung_exynos/libtdm-exynos/commit/?h=tizen&id=b59be207365d10efd489e6f71c8a045b558c44fe
https://git.tizen.org/cgit/platform/kernel/linux-exynos/log/?h=tizen&qt=grep&q=ipp
TDM(Tizen Display Manager) is a Display HAL for Tizen platform.
Ps. Only real user using IPP API is Tizen.
[1] https://www.tizen.org/
- Two cleanups
. One is to just remove mode_set callback from MIPI-DSI driver
because drm_display_mode data is already available from crtc
atomic state.
. And other is to just use new return type, vm_fault_t
for page fault handler.
Signed-off-by: Dave Airlie <airlied@redhat.com >
# gpg: Signature made Mon 14 May 2018 14:23:53 AEST
# gpg: using RSA key 573834890C4312B8
# gpg: Can't check signature: public key not found
Link: https://patchwork.freedesktop.org/patch/msgid/1526276453-29879-1-git-send-email-inki.dae@samsung.com
2018-05-15 15:37:07 +10:00
Maarten Lankhorst
94cc2fde36
Merge remote-tracking branch 'drm/drm-next' into drm-misc-next
...
drm-misc-next is still based on v4.16-rc7, and was getting a bit stale.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com >
2018-05-11 18:08:10 +02:00
Andrzej Hajda
7a10967389
drm/bridge/sii8620: add Kconfig dependency on extcon
...
The driver can work with or without extcon framework, but if extcon is
build as module, sii8620 should be build as module as well.
Fixes: 6888384421
("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL")
Reported-by: kbuild test robot <lkp@intel.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180409062708.4326-1-a.hajda@samsung.com
Signed-off-by: Sean Paul <seanpaul@chromium.org >
2018-05-07 10:19:12 -04:00
Jia-Ju Bai
5f27314141
gpu: drm: bridge: adv7511: Replace mdelay with usleep_range in adv7511_probe
...
adv7511_probe() is never called in atomic context.
This function is only set as ".probe" in struct i2c_driver.
Despite never getting called from atomic context, adv7511_probe()
calls mdelay() to busily wait.
This is not necessary and can be replaced with usleep_range() to
avoid busy waiting.
This is found by a static analysis tool named DCNS written by myself.
And I also manually check it.
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Archit Taneja <architt@codeaurora.org >
Link: https://patchwork.freedesktop.org/patch/msgid/1523435622-4329-1-git-send-email-baijiaju1990@gmail.com
2018-05-04 11:30:51 +05:30
Peter Rosin
7bd2d2eced
drm/bridge: adv7511: fix spelling of driver name in Kconfig
...
Could perhaps prevent some confusion.
Signed-off-by: Peter Rosin <peda@axentia.se >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Archit Taneja <architt@codeaurora.org >
Link: https://patchwork.freedesktop.org/patch/msgid/20180426213644.29318-1-peda@axentia.se
2018-05-04 11:29:03 +05:30
Sean Paul
49ceda9de2
drm/bridge: vga-dac: Fix edid memory leak
...
edid should be freed once it's finished being used.
Fixes: 56fe8b6f49
("drm/bridge: Add RGB to VGA bridge support")
Cc: Rob Herring <robh@kernel.org >
Cc: Sean Paul <seanpaul@chromium.org >
Cc: Maxime Ripard <maxime.ripard@free-electrons.com >
Cc: Archit Taneja <architt@codeaurora.org >
Cc: Andrzej Hajda <a.hajda@samsung.com >
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com >
Cc: <stable@vger.kernel.org > # v4.9+
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Link: https://patchwork.freedesktop.org/patch/msgid/20180420190007.1572-1-seanpaul@chromium.org
2018-05-02 15:09:21 -04:00
Dave Airlie
0ab390262c
Merge tag 'drm-misc-next-2018-04-26' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
...
drm-misc-next for v4.18:
UAPI Changes:
- Add support for a generic plane alpha property to sun4i, rcar-du and atmel-hclcdc. (Maxime)
Core Changes:
- Stop looking at legacy plane->fb and crtc members in atomic drivers. (Ville)
- mode_valid return type fixes. (Luc)
- Handle zpos normalization in the core. (Peter)
Driver Changes:
- Implement CTM, plane alpha and generic async cursor support in vc4. (Stefan)
- Various fixes for HPD and aux chan in drm_bridge/analogix_dp. (Lin, Zain, Douglas)
- Add support for MIPI DSI to sun4i. (Maxime)
Signed-off-by: Dave Airlie <airlied@redhat.com >
# gpg: Signature made Thu 26 Apr 2018 08:21:01 PM AEST
# gpg: using RSA key FE558C72A67013C3
# gpg: Can't check signature: public key not found
Link: https://patchwork.freedesktop.org/patch/msgid/b33da7eb-efc9-ae6f-6f69-b7acd6df6797@mblankhorst.nl
2018-04-30 09:32:43 +10:00
Philippe CORNU
741c3aeb82
drm/bridge/synopsys: dsi: use adjusted_mode in mode_set
...
The "adjusted_mode" clock value (ie the real pixel clock) is more
accurate than "mode" clock value (ie the panel/bridge requested
clock value). It offers a better preciseness for timing
computations and allows to reduce the extra dsi bandwidth in
burst mode (from ~20% to ~10-12%, hw platform dependent).
Signed-off-by: Philippe Cornu <philippe.cornu@st.com >
Tested-by: Brian Norris <briannorris@chromium.org >
Reviewed-by: Yannick Fertré <yannick.fertre@st.com >
Tested-by: Yannick Fertré <yannick.fertre@st.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180125155504.8611-1-philippe.cornu@st.com
2018-04-26 08:24:26 +02:00
Luc Van Oostenryck
114b3ac870
drm/bridge: tc358767: fix mode_valid's return type
...
The method struct drm_connector_helper_funcs::mode_valid is defined
as returning an 'enum drm_mode_status' but the driver implementation
for this method uses an 'int' for it.
Fix this by using 'enum drm_mode_status' in the driver too.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: https://patchwork.freedesktop.org/patch/msgid/20180424131453.1961-1-luc.vanoostenryck@gmail.com
2018-04-25 09:37:59 +02:00
Luc Van Oostenryck
0e19b02341
drm/bridge: adv7511: fix mode_valid's return type
...
The method struct drm_connector_helper_funcs::mode_valid is defined
as returning an 'enum drm_mode_status' but the driver implementation
for this method uses an 'int' for it.
Fix this by using 'enum drm_mode_status' in the driver too.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: https://patchwork.freedesktop.org/patch/msgid/20180424131450.1910-1-luc.vanoostenryck@gmail.com
2018-04-25 09:09:22 +02:00
Kieran Bingham
680532c50b
drm: adv7511: Add support for i2c_new_secondary_device
...
The ADV7511 has four 256-byte maps that can be accessed via the main I2C
ports. Each map has it own I2C address and acts as a standard slave
device on the I2C bus.
Allow a device tree node to override the default addresses so that
address conflicts with other devices on the same bus may be resolved at
the board description level.
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Archit Taneja <architt@codeaurora.org >
Link: https://patchwork.freedesktop.org/patch/msgid/1518544137-2742-6-git-send-email-kbingham@kernel.org
2018-04-25 11:18:59 +05:30
Douglas Anderson
7bb3bb4d56
drm/bridge: analogix_dp: Split the platform-specific poweron in two parts
...
Some of the platform-specific stuff in rockchip_dp_poweron() needs to
happen before the generic code. Some needs to happen after. Let's
split the callback in two.
Specifically we can't start doing PSR work until _after_ the whole
controller is up, so don't set the enable until the end.
Cc: Kristian H. Kristensen <hoegsberg@chromium.org >
Signed-off-by: Douglas Anderson <dianders@chromium.org >
[seanpaul added exynos change]
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-23-enric.balletbo@collabora.com
2018-04-24 08:34:49 +02:00
Douglas Anderson
7bd0fd9850
drm/bridge: analogix_dp: Properly disable aux chan retries on rockchip
...
The comments in analogix_dp_init_aux() claim that we're disabling aux
channel retries, but then right below it for Rockchip it sets them to
3. If we actually need 3 retries for Rockchip then we could adjust
the comment, but it seems more likely that we want the same retry
behavior across all platforms.
Cc: Stéphane Marchesin <marcheu@chromium.org >
Cc: 征增 王 <wzz@rock-chips.com >
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-21-enric.balletbo@collabora.com
2018-04-24 08:34:46 +02:00
Douglas Anderson
71cef82434
drm/bridge: analogix_dp: Properly log AUX CH errors
...
The code in analogix_dp_transfer() that was supposed to print out:
AUX CH error happened
Was actually dead code. That's because the previous check (whether
the interrupt status indicated any errors) would have hit for all
errors anyway.
Let's combine the two error checks so we can actually see AUX CH
errors. We'll also downgrade the message to a warning since some of
these types of errors might be expected for some displays. If this
gets too noisy we can downgrade again to debug.
Cc: 征增 王 <wzz@rock-chips.com >
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-20-enric.balletbo@collabora.com
2018-04-24 08:34:46 +02:00
Douglas Anderson
2f8d216002
drm/bridge: analogix_dp: Reorder plat_data->power_off to happen sooner
...
The current user of the analogix power_off is "analogix_dp-rockchip".
That driver does this:
- deactivate PSR
- turn off a clock
Both of these things (especially deactive PSR) should be done before
we turn the PHY power off and turn off analog power. Let's move the
callback up.
Note that without this patch (and with
https://patchwork.kernel.org/patch/9553349/ [seanpaul: this patch was
not applied, but it seems like the race can still occur]), I experienced
an error in reboot testing where one thread was at:
rockchip_drm_psr_deactivate
rockchip_dp_powerdown
analogix_dp_bridge_disable
drm_bridge_disable
...and the other thread was at:
analogix_dp_send_psr_spd
analogix_dp_enable_psr
analogix_dp_psr_set
psr_flush_handler
The flush handler thread was finding AUX channel errors and eventually
reported "Failed to apply PSR", where I had a kgdb breakpoint. Presumably
the device would have eventually given up and shut down anyway, but it
seems better to fix the order to be more correct.
Cc: Kristian H. Kristensen <hoegsberg@chromium.org >
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-19-enric.balletbo@collabora.com
2018-04-24 08:34:45 +02:00
zain wang
6f4638a196
drm/bridge: analogix_dp: Move fast link training detect to set_bridge
...
It's too early to detect fast link training, if other step after it
failed, we will set fast_link flag to 1, and retry set_bridge again. In
this case we will power down and power up panel power supply, and we
will do fast link training since we have set fast_link flag to 1. In
fact, we should do full link training now, not the fast link training.
So we should move the fast link detection at the end of set_bridge.
Cc: Tomasz Figa <tfiga@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-18-enric.balletbo@collabora.com
2018-04-24 08:34:44 +02:00
zain wang
4805b7ce50
drm/bridge: analogix_dp: Fix incorrect operations with register ANALOGIX_DP_FUNC_EN_1
...
Register ANALOGIX_DP_FUNC_EN_1(offset 0x18), Rockchip is different to
Exynos:
on Exynos edp phy,
BIT 7 MASTER_VID_FUNC_EN_N
BIT 6 reserved
BIT 5 SLAVE_VID_FUNC_EN_N
on Rockchip edp phy,
BIT 7 reserved
BIT 6 RK_VID_CAP_FUNC_EN_N
BIT 5 RK_VID_FIFO_FUNC_EN_N
So, we should do some private operations to Rockchip.
Cc: Tomasz Figa <tfiga@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-17-enric.balletbo@collabora.com
2018-04-24 08:34:43 +02:00
zain wang
c4d3b1a21e
drm/bridge: analogix_dp: Fix timeout of video streamclk config
...
The STRM_VALID bit in register ANALOGIX_DP_SYS_CTL_3 may be unstable,
so we may hit the error log "Timeout of video streamclk ok" since
checked this unstable bit.
In fact, we can go continue and the streamclk is ok if we wait enough time,
it does no effect on display.
Let's change this error to warn.
Cc: Douglas Anderson <dianders@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-16-enric.balletbo@collabora.com
2018-04-24 08:34:42 +02:00
zain wang
ac0c0b611d
drm/bridge: analogix_dp: Don't use ANALOGIX_DP_PLL_CTL to control pll
...
There is no register named ANALOGIX_DP_PLL_CTL in Rockchip edp phy reg
list. We should use BIT_4 in ANALOGIX_DP_PD to control the pll power
instead of ANALOGIX_DP_PLL_CTL.
Cc: Douglas Anderson <dianders@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-15-enric.balletbo@collabora.com
2018-04-24 08:34:41 +02:00
zain wang
2a7b44c524
drm/rockchip: Restore psr->state when enable/disable psr failed
...
If we failed disable psr, it would hang the display until next psr
cycle coming. So we should restore psr->state when it failed.
Cc: Tomasz Figa <tfiga@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Heiko Stuebner <heiko@sntech.de >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-14-enric.balletbo@collabora.com
2018-04-24 08:34:40 +02:00
Lin Huang
d44ba84433
drm/bridge: analogix_dp: Reset aux channel if an error occurred
...
AUX errors are caused by many different reasons. We may not know what
happened in aux channel on failure, so let's reset aux channel if some
errors occurred.
Cc: 征增 王 <wzz@rock-chips.com >
Cc: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Lin Huang <hl@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-13-enric.balletbo@collabora.com
2018-04-24 08:34:39 +02:00
zain wang
f12da6877e
drm/bridge: analogix_dp: Fix AUX_PD bit for Rockchip
...
There are some different bits between Rockchip and Exynos in register
"AUX_PD". This patch fixes the incorrect operations about it.
Cc: Douglas Anderson <dianders@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-12-enric.balletbo@collabora.com
2018-04-24 08:34:38 +02:00
Lin Huang
ccdc578b69
drm/bridge: analogix_dp: Check dpcd write/read status
...
We need to check the dpcd write/read return value to see whether the
write/read was successful
Cc: Kristian H. Kristensen <hoegsberg@chromium.org >
Signed-off-by: Lin Huang <hl@rock-chips.com >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Douglas Anderson <dianders@chromium.org >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-11-enric.balletbo@collabora.com
2018-04-24 08:34:37 +02:00
zain wang
1932250df1
drm/bridge: analogix_dp: Fix incorrect usage of enhanced mode
...
Enhanced mode is required by the eDP 1.2 specification, and not doing it
early could result in a period of time where we have a link transmitting
idle packets without it. Since there is no reason to disable it, we just
enable it at the beginning of link training and then keep it on all the
time.
Cc: Tomasz Figa <tfiga@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-10-enric.balletbo@collabora.com
2018-04-24 08:34:36 +02:00
Lin Huang
606c5e64c6
drm/bridge: analogix_dp: Extend hpd check time to 100ms
...
There was a 1ms delay to detect the hpd signal, which is too short to
detect a short pulse. This patch extends this delay to 100ms.
Cc: Stéphane Marchesin <marcheu@chromium.org >
Cc: 征增 王 <wzz@rock-chips.com >
Signed-off-by: Lin Huang <hl@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-9-enric.balletbo@collabora.com
2018-04-24 08:34:35 +02:00
Lin Huang
63872659fc
drm/bridge: analogix_dp: Ensure edp is disabled when shutting down the panel
...
When panel is shut down, we should make sure edp can be disabled to avoid
undefined behavior.
Cc: Stéphane Marchesin <marcheu@chromium.org >
Signed-off-by: Lin Huang <hl@rock-chips.com >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-8-enric.balletbo@collabora.com
2018-04-24 08:34:35 +02:00
zain wang
d79acb5932
drm/bridge: analogix_dp: Set PD_INC_BG first when powering up edp phy
...
Following the correct power up sequence:
dp_pd=ff => dp_pd=7f => wait 10us => dp_pd=00
Cc: Stéphane Marchesin <marcheu@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-7-enric.balletbo@collabora.com
2018-04-24 08:34:34 +02:00
zain wang
7f6414143a
drm/bridge: analogix_dp: Wait for HPD signal before configuring link
...
According to DP spec v1.3 chap 3.5.1.2 Link Training, Link Policy Maker
must first detect that the HPD signal is asserted high by the Downstream
Device before establishing a link with it.
Cc: Stéphane Marchesin <marcheu@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-6-enric.balletbo@collabora.com
2018-04-24 08:34:33 +02:00
zain wang
8a335736f9
drm/bridge: analogix_dp: Retry bridge enable when it failed
...
When we enable bridge failed, we have to retry it, otherwise we would get
the abnormal display.
Cc: Stéphane Marchesin <marcheu@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-5-enric.balletbo@collabora.com
2018-04-24 08:34:32 +02:00
zain wang
7ba8fb5704
drm/bridge: analogix_dp: Don't use fast link training when panel just powered up
...
Panel would reset its setting when it powers down. It would forget the last
succeeded link training setting. So we can't use the last successful link
training setting to do fast link training. Let's reset fast_train_enable in
analogix_dp_bridge_disable();
Cc: Stéphane Marchesin <marcheu@chromium.org >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-4-enric.balletbo@collabora.com
2018-04-24 08:34:31 +02:00
Lin Huang
c2021db190
drm/bridge: analogix_dp: Check AUX_EN status when doing AUX transfer
...
We should check AUX_EN bit to confirm the AUX CH operation is completed.
Cc: Stéphane Marchesin <marcheu@chromium.org >
Signed-off-by: Lin Huang <hl@rock-chips.com >
Signed-off-by: zain wang <wzz@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-3-enric.balletbo@collabora.com
2018-04-24 08:34:30 +02:00
Lin Huang
93cba9dab1
drm/bridge: analogix_dp: Move enable video into config_video()
...
We need to enable video before analogix_dp_is_video_stream_on(), so
we can get the right video stream status.
We needed to increase the delay in the timeout loop because there is
random "Timeout of video streamclk ok" message happen when debug edp
panel, this time do not define in the spec.
Cc: 征增 王 <wzz@rock-chips.com >
Cc: Stéphane Marchesin <marcheu@chromium.org >
Signed-off-by: Lin Huang <hl@rock-chips.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Signed-off-by: Thierry Escande <thierry.escande@collabora.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-2-enric.balletbo@collabora.com
2018-04-24 08:34:29 +02:00
Boris Brezillon
e19233955d
drm/bridge: Add Cadence DSI driver
...
Add a driver for Cadence DPI -> DSI bridge.
This driver only support a subset of Cadence DSI bridge capabilities.
This driver has been tested/debugged in a simulated environment which
explains why some of the features are missing. Here is a
non-exhaustive list of missing features:
* burst mode
* DPHY init/configuration steps
* support for additional input interfaces (SDI input)
DSI commands and non-burst video mode have been tested.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Acked-by: Eric Anholt <eric@anholt.net >
Reviewed-by: Archit Taneja <architt@codeaurora.org >
Link: https://patchwork.freedesktop.org/patch/msgid/20180421070846.10330-1-boris.brezillon@bootlin.com
2018-04-23 19:12:18 +02:00
Fabio Estevam
ccaf509037
drm: dw-hdmi-i2s: Remove owner assignment from platform_driver
...
platform_driver does not need to set the owner field, as this will
be populated by the driver core.
Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/1521137057-14773-1-git-send-email-festevam@gmail.com
2018-04-23 08:55:21 +02:00
Jacopo Mondi
cdc33b8672
drm: bridge: Add thc63lvd1024 LVDS decoder driver
...
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel
output converter.
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org >
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com >
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com >
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com >
Link: https://patchwork.freedesktop.org/patch/msgid/1524062429-325-3-git-send-email-jacopo+renesas@jmondi.org
2018-04-20 11:08:24 +02:00
Philippe CORNU
7f497cc7fc
drm/bridge/synopsys: dsi: Adopt SPDX identifiers
...
Add SPDX identifiers to the Synopsys DesignWare MIPI DSI
host controller driver.
Signed-off-by: Philippe Cornu <philippe.cornu@st.com >
Acked-by: Philippe Ombredanne <pombredanne@nexB.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20180208145805.24762-1-philippe.cornu@st.com
2018-04-19 12:30:19 +02:00
Linus Torvalds
06dd3dfeea
Merge tag 'char-misc-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
...
Pull char/misc updates from Greg KH:
"Here is the big set of char/misc driver patches for 4.17-rc1.
There are a lot of little things in here, nothing huge, but all
important to the different hardware types involved:
- thunderbolt driver updates
- parport updates (people still care...)
- nvmem driver updates
- mei updates (as always)
- hwtracing driver updates
- hyperv driver updates
- extcon driver updates
- ... and a handful of even smaller driver subsystem and individual
driver updates
All of these have been in linux-next with no reported issues"
* tag 'char-misc-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (149 commits)
hwtracing: Add HW tracing support menu
intel_th: Add ACPI glue layer
intel_th: Allow forcing host mode through drvdata
intel_th: Pick up irq number from resources
intel_th: Don't touch switch routing in host mode
intel_th: Use correct method of finding hub
intel_th: Add SPDX GPL-2.0 header to replace GPLv2 boilerplate
stm class: Make dummy's master/channel ranges configurable
stm class: Add SPDX GPL-2.0 header to replace GPLv2 boilerplate
MAINTAINERS: Bestow upon myself the care for drivers/hwtracing
hv: add SPDX license id to Kconfig
hv: add SPDX license to trace
Drivers: hv: vmbus: do not mark HV_PCIE as perf_device
Drivers: hv: vmbus: respect what we get from hv_get_synint_state()
/dev/mem: Avoid overwriting "err" in read_mem()
eeprom: at24: use SPDX identifier instead of GPL boiler-plate
eeprom: at24: simplify the i2c functionality checking
eeprom: at24: fix a line break
eeprom: at24: tweak newlines
eeprom: at24: refactor at24_probe()
...
2018-04-04 20:07:20 -07:00