This patch updates mhdp8546 firmware from v1.2.12 to v1.2.15.
Added support for performing arbitrary I2C-over-AUX transactions.
Corrected handling of erroneous requests for reading/writing 0 bytes over DPCD.
Add mailbox message to force uCPU fatal error.
Signed-off-by: Damian Kos
---
WHENCE
>Damian, ping.
>
>On 31/01/2019 14:08, Tomi Valkeinen wrote:
>> Hi,
>>
>> On 30/01/2019 13:03, Damian Kos wrote:
>>> Hello!
>>>
>>> This is the series of patches that will add support for the Cadence's DPI/DP
>>> bridge. Please
alfunction
when they discover the higher capabilities within those three
registers.".
Before DP 1.4, DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT bit was reserved
and read 0 so it's safe to check against it even if DP revision is
<1.4
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
Updated firmware for Cadence MHDP8546 DP bridge.
Release version: 1.2.15
---
cadence/mhdp8546.bin | Bin 131072 -> 131072 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/cadence/mhdp8546.bin b/cadence/mhdp8546.bin
index
01a31f6775e1c4d8d889216e78ef90e62888c487..40097e0ec908ab
from cdn_dp_device to
cdns_mhdp_device structure.
Signed-off-by: Quentin Schulz
Signed-off-by: Piotr Sroka
Signed-off-by: Damian Kos
---
drivers/gpu/drm/bridge/Kconfig|9 +
drivers/gpu/drm/bridge/Makefile |3 +
.../cdns-mhdp-com
From: Quentin Schulz
Document the bindings used for the Cadence MHDP DPI/DP bridge.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
Reviewed-by: Rob Herring
---
.../bindings/display/bridge/cdns,mhdp.txt | 47 +++
1 file changed, 47 insertions(+)
create mode
7;s going on here in general.
- New structure. Now we have one common low level driver + two high level
drivers - one for RockChip with minimum changes and one, more general, for
Cadence.
- Dropped some changes made to DRM helpers.
- Updated the device tree bindings document.
Damian Kos (1):
dr
odified cdn-dp-core.c to use the new driver structure and new function
names.
Signed-off-by: Damian Kos
Reviewed-by: Andrzej Hajda
---
drivers/gpu/drm/rockchip/cdn-dp-core.c | 220 +++--
drivers/gpu/drm/rockchip/cdn-dp-core.h | 40 +--
drivers/gpu/drm/rockchi
This is basically the same fix as in
commit fa68d4f8476b ("drm/rockchip: fix for mailbox read size")
but for cdn_dp_mailbox_validate_receive function.
See patchwork.kernel.org/patch/10671981/ for details.
Signed-off-by: Damian Kos
---
drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2
From: Andrzej Hajda
Sent: Wednesday, November 7, 2018 12:40
To: Damian Kos ; David Airlie ; Rob Herring
; Mark Rutland ; Archit Taneja
; Laurent Pinchart ;
Gustavo Padovan ; Maarten Lankhorst
; Sean Paul ; Sandy Huang
; Heiko Stübner ; Quentin Schulz
; Piotr Sroka ;
dri-devel
ith relying on not-yet-in-mainline code are also welcome.
Signed-off-by: Przemyslaw Gaj
Signed-off-by: Damian Kos
---
drivers/gpu/drm/bridge/Makefile|2 +-
drivers/gpu/drm/bridge/cdns-mhdp-dsc.c | 1468
drivers/gpu/drm/bridge/cdns-mhdp-dsc.h | 304 +
From: Przemyslaw Gaj
This patch enables FEC (Forward Error Correction) on Cadence DisplayPort
controller if it's supported by the Sink.
This patch is an addition to patch with mhdp8546 driver @
patchwork.kernel.org/cover/10632065/
Signed-off-by: Przemyslaw Gaj
Signed-off-by: Damia
ytes of an additional info).
In other words - CTSes with HDCP Repeater won't pass without this
fix. Oh, and the driver will most likely stop working (best case
scenario).
Signed-off-by: Damian Kos
---
drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-
Hi Laurent,
Understood. Thanks.
Damian
-Original Message-
From: Laurent Pinchart
Sent: Monday, November 5, 2018 11:30
To: Damian Kos
Cc: David Airlie ; Rob Herring ; Mark
Rutland ; Archit Taneja ; Andrzej
Hajda ; Gustavo Padovan ; Maarten
Lankhorst ; Sean Paul ;
Sandy Huang
Hi Andrzej,
Thanks!
Damian
-Original Message-
From: Andrzej Hajda
Sent: Monday, November 5, 2018 12:10
To: Damian Kos ; Laurent Pinchart
Cc: David Airlie ; Rob Herring ; Mark
Rutland ; Archit Taneja ; Gustavo
Padovan ; Maarten Lankhorst
; Sean Paul ; Sandy Huang
; Heiko Stübner
al Message-----
From: Damian Kos
Sent: Monday, October 8, 2018 23:42
To: David Airlie ; Rob Herring ; Mark
Rutland ; Archit Taneja ; Andrzej
Hajda ; Laurent Pinchart
; Gustavo Padovan ;
Maarten Lankhorst ; Sean Paul
; Sandy Huang ; Heiko Stübner
; Quentin Schulz ; Damian
Kos ; Piotr Sroka ;
This patch modifies the mhdp8546 driver to initialize sd0801 "Torrent" PHY.
And removes the dbg_regs field from cdns_mhdp_device structure.
Signed-off-by: Damian Kos
---
drivers/gpu/drm/bridge/cdns-mhdp.c| 9 +
include/drm/bridge/cdns-mhdp-common.h | 1 -
2 files
odified cdn-dp-core.c to use the new driver structure and new function
names.
Signed-off-by: Damian Kos
Reviewed-by: Andrzej Hajda
---
drivers/gpu/drm/rockchip/cdn-dp-core.c | 220 +++--
drivers/gpu/drm/rockchip/cdn-dp-core.h | 40 +--
drivers/gpu/drm/rockchi
ges in v6:
- Added Reviewed-bys for already reviewed patches
- Dropped patch v5-0003 (that made dp_get_lane_status helper public)
- Added patch with MST support
- Added patch with Cadence SD0801 PHY init
Damian Kos (2):
drm/rockchip: prepare common code for cdns and rk dpi/dp driver
drm/bridge:
From: Quentin Schulz
Document the bindings used for the Cadence MHDP DPI/DP bridge.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
Reviewed-by: Rob Herring
---
.../bindings/display/bridge/cdns,mhdp.txt | 43 +++
1 file changed, 43 insertions(+)
create mode
alfunction
when they discover the higher capabilities within those three
registers.".
Before DP 1.4, DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT bit was reserved
and read 0 so it's safe to check against it even if DP revision is
<1.4
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
created/destroyed
Signed-off-by: Piotr Sroka
Signed-off-by: Damian Kos
---
drivers/gpu/drm/bridge/Makefile| 2 +-
drivers/gpu/drm/bridge/cdns-mhdp-mst.c | 594 +
drivers/gpu/drm/bridge/cdns-mhdp.c | 560 ---
drivers/gpu/drm/bridge/cdns
dn-dp-core.*):
- Moved audio_info and audio_pdev fields from cdn_dp_device to
cdns_mhdp_device structure.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
drivers/gpu/drm/bridge/Kconfig|9 +
drivers/gpu/drm/bridge/Makefile |3 +
.../cdns-mhd
odified cdn-dp-core.c to use the new driver structure and new function
names.
Signed-off-by: Damian Kos
---
drivers/gpu/drm/rockchip/cdn-dp-core.c | 220 +++--
drivers/gpu/drm/rockchip/cdn-dp-core.h | 40 +--
drivers/gpu/drm/rockchip/cdn-dp-reg.c | 428 +
dri
n or as modules.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
drivers/gpu/drm/drm_dp_helper.c | 9 +
include/drm/drm_dp_helper.h | 2 ++
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c
ind
From: Quentin Schulz
Document the bindings used for the Cadence MHDP DPI/DP bridge.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
.../bindings/display/bridge/cdns,mhdp.txt | 43 +++
1 file changed, 43 insertions(+)
create mode 100644
Documentation
dn-dp-core.*):
- Moved audio_info and audio_pdev fields from cdn_dp_device to
cdns_mhdp_device structure.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
drivers/gpu/drm/bridge/Kconfig|9 +
drivers/gpu/drm/bridge/Makefile |3 +
.../cdns-mhd
alfunction
when they discover the higher capabilities within those three
registers.".
Before DP 1.4, DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT bit was reserved
and read 0 so it's safe to check against it even if DP revision is
<1.4
Signed-off-by: Quentin Schulz
Signed-off-by: Dami
rm/bridge instead of
drivers/gpu/drm/bridge/
- Updated the mhdp_validate_cr function
Damian Kos (1):
drm/rockchip: prepare common code for cdns and rk dpi/dp driver
Quentin Schulz (4):
drm/dp: fix link probing for devices supporting DP 1.4+
drm/dp: make dp_get_lane_status usable from outsi
Heiko,
> Hi Damian,
>
> Am Montag, 24. September 2018, 13:40:03 CEST schrieb Damian Kos:
> > > Am Donnerstag, 20. September 2018, 16:54:40 CEST schrieb Damian Kos:
> > > > From: Quentin Schulz
> > > >
> > > > This adds basic support for Cad
> On Thu, Sep 20, 2018 at 03:54:40PM +0100, Damian Kos wrote:
> > From: Quentin Schulz
> >
> > This adds basic support for Cadence MHDP DPI to DP bridge.
> >
> > Basically, it takes a DPI stream as input and output it encoded in DP
> > format. It
Hi Heiko,
> Hi Damian,
>
> Am Donnerstag, 20. September 2018, 16:54:40 CEST schrieb Damian Kos:
> > From: Quentin Schulz
> >
> > This adds basic support for Cadence MHDP DPI to DP bridge.
> >
> > Basically, it takes a DPI stream as input and output it
nfig in drm/rockchip
- Fixed Signed-offs
- dp_link_status() is no longer public since it's used only in drm_dp_helper.c
- Replaced EXTRA_CFLAGS with ccflags-y in drm/rockchip Makefile
Damian Kos (1):
drm/rockchip: prepare common code for cdns and rk dpi/dp driver
Quentin Schulz (4)
n or as modules.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
drivers/gpu/drm/drm_dp_helper.c | 9 +
include/drm/drm_dp_helper.h | 2 ++
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c
ind
From: Quentin Schulz
Document the bindings used for the Cadence MHDP DPI/DP bridge.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
.../bindings/display/bridge/cdns,mhdp.txt | 43 +++
1 file changed, 43 insertions(+)
create mode 100644
Documentation
ields from cdn_dp_device to
cdns_mhdp_device structure.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
drivers/gpu/drm/bridge/Kconfig|9 +
drivers/gpu/drm/bridge/Makefile |3 +
.../cdns-mhdp-common.c} | 137 +-
.../cdns-mhd
odified cdn-dp-core.c to use the new driver structure and new function
names.
Signed-off-by: Damian Kos
---
drivers/gpu/drm/rockchip/cdn-dp-core.c | 220 +++--
drivers/gpu/drm/rockchip/cdn-dp-core.h | 40 +--
drivers/gpu/drm/rockchip/cdn-dp-reg.c | 428 +
dri
alfunction
when they discover the higher capabilities within those three
registers.".
Before DP 1.4, DP_EXTENDED_RECEIVER_CAP_FIELD_PRESENT bit was reserved
and read 0 so it's safe to check against it even if DP revision is
<1.4
Signed-off-by: Quentin Schulz
Signed-off-by: Dami
Got it.
-depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
+depends on DRM_ROCKCHIP=m
+select EXTCON
Damian
-Original Message-
From: Heiko Stuebner
Sent: Thursday, September 13, 2018 14:32
To: Damian Kos
Cc: David Airlie ; Rob Herring ; Mark
Rutland ; Archit Taneja ; Andrze
To: Damian Kos ; David Airlie ; Rob Herring
; Mark Rutland ; Archit Taneja
; Laurent Pinchart ;
Gustavo Padovan ; Maarten Lankhorst
; Sean Paul ; Sandy Huang
; Heiko Stübner ; Quentin Schulz
; dri-devel@lists.freedesktop.org;
devicet...@vger.kernel.org; linux-ker...@vger.kernel.org;
linux
odified cdn-dp-core.c to use the new driver structure and new function
names.
Signed-off-by: Damian Kos
---
drivers/gpu/drm/rockchip/cdn-dp-core.c | 220 +++--
drivers/gpu/drm/rockchip/cdn-dp-core.h | 40 +--
drivers/gpu/drm/rockchip/cdn-dp-reg.c | 428 +
dri
e used by other
drivers, be they compiled built-in or as modules.
Signed-off-by: Damian Kos
---
drivers/gpu/drm/drm_dp_helper.c | 20 +++-
include/drm/drm_dp_helper.h | 3 +++
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/drm_dp_helper.c b/
public
- added functions for reading registers and link training
adjustment
Changes made in RK's driver (cdn-dp-core.*):
- Moved audio_info and audio_pdev fields from cdn_dp_device to
cdns_mhdp_device structure.
Signed-off-by: Damian Kos
---
drivers/gpu/drm/bridge/Kc
alfunction when they discover the
higher capabilities within those three registers.".
Before DP 1.4, DP_EXTENDED_RCVR_CAPA_FIELD_PRESENT bit was reserved and read 0
so it's safe to check against it even if DP revision is <1.4
Signed-off-by: Damian Kos
---
drivers/
Changes in v3:
- Corrected dt-bindings document
- Enabled some clocks at startup (since FW doesn't do that anymore).
- Changed Firmware file name to match the file on Linux Firmware repo.
- Added SST audio support
- Made common functions (in cdns-mhdp-common.*) public.
Damian Kos (1):
drm/roc
From: Quentin Schulz
Signed-off-by: Damian Kos
---
.../bindings/display/bridge/cdns,mhdp.txt | 43 +++
1 file changed, 43 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt
diff --git a/Documentation/devicetree/bindings
This patch adds the v1.2.12 binary firmware for Cadence MHDP8546 DP bridge.
Damian Kos (1):
linux-firmware: add firmware for mhdp8546
LICENCE.cadence | 63 +++
WHENCE | 9 +++
cadence/mhdp8546.bin | Bin 0 -> 131072 bytes
Add binary firmware for Cadence MHDP8546 DP bridge.
Release version: 1.2.12
Signed-off-by: Damian Kos
---
LICENCE.cadence | 63 +++
WHENCE | 9 +++
cadence/mhdp8546.bin | Bin 0 -> 131072 bytes
3 files changed, 72 inserti
: Damian Kos
---
drivers/gpu/drm/bridge/Makefile |2 +-
drivers/gpu/drm/bridge/cdns-mhdp-common.c | 110 +-
drivers/gpu/drm/bridge/cdns-mhdp-common.h | 11 +
drivers/gpu/drm/bridge/cdns-mhdp.c| 1233 +
4 files changed, 1353 insertions(+), 3 deletions
tains, what is it for and
what's going on here in general.
- New structure. Now we have one common low level driver + two high level
drivers - one for RockChip with minimum changes and one, more general, for
Cadence.
- Dropped some changes made to DRM helpers.
- Updated the device tree bind
alfunction when they discover the
higher capabilities within those three registers.".
Before DP 1.4, DP_EXTENDED_RCVR_CAPA_FIELD_PRESENT bit was reserved and read 0
so it's safe to check against it even if DP revision is <1.4
Signed-off-by: Damian Kos
---
drivers/
From: Quentin Schulz
Signed-off-by: Damian Kos
---
.../bindings/display/bridge/cdns,mhdp.txt | 43 +++
1 file changed, 43 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt
diff --git a/Documentation/devicetree/bindings
ce MHDP DPI/DP bridge (DRM_CDNS_MHDP).
Signed-off-by: Damian Kos
---
drivers/gpu/drm/bridge/Kconfig| 7 +
drivers/gpu/drm/bridge/Makefile | 1 +
.../cdns-mhdp-common.c} | 434 +-
.../cdns-mhdp-common.h}
e used by other
drivers, be they compiled built-in or as modules.
Signed-off-by: Damian Kos
---
drivers/gpu/drm/drm_dp_helper.c | 20 +++-
include/drm/drm_dp_helper.h | 3 +++
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/drm_dp_helper.c b/
drm_dp_set_adjust_request_voltage that respectively set the
pre-emphasis and voltage of a lane in the link status array.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
drivers/gpu/drm/drm_dp_helper.c | 28
include/drm/drm_dp_helper.h |4
2 files changed, 32
Document the bindings used for the Cadence MHDP DPI/DP bridge.
Signed-off-by: Damian Kos
---
.../bindings/display/bridge/cdns,mhdp.txt | 39
1 files changed, 39 insertions(+), 0 deletions(-)
create mode 100644
Documentation/devicetree/bindings/display/bridge
. This is used for Y420.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
include/drm/drm_dp_helper.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index accefbb..22f6c3e 100644
--- a/include/drm
From: Quentin Schulz
Currently, a maximum of 4 lanes is supported in DP.
It can be useful to add this maximum so that we can e.g. create arrays
in drivers that can store data for several lanes (e.g.
DP_TRAINING_LANEx_SET).
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
include
e used
by other drivers, be they compiled built-in or as modules.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
drivers/gpu/drm/drm_dp_helper.c | 20 +++-
include/drm/drm_dp_helper.h |3 +++
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/
From: Quentin Schulz
In DP 1.4, interval between link status and adjust request read for the
clock recovery phase is fixed to 100us whatever the value of the
register is.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
drivers/gpu/drm/drm_dp_helper.c |5 +
1 files changed
y: Quentin Schulz
Signed-off-by: Damian Kos
---
drivers/gpu/drm/drm_dp_helper.c | 14 ++
include/drm/drm_dp_helper.h |2 ++
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c
index ca2f469..7f5d568
From: Quentin Schulz
Due to the DP IP being simulated in a different and way slower way than
the rest of the hardware, increase the timeout in
drm_atomic_helper_wait_for_vblanks so that we don't miss the vblank
event.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
driver
Damian Kos (3):
dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings
drm/rockchip: added implementation for a few FW commands.
drm/rockchip: add support for CDNS MHDP IP controller.
Quentin Schulz (9):
HACK: increase timeout for drm_atomic_helper_wait_for_vblanks
drm/dp: make
reserved
values). Thus, we need to expand DP_SET_POWER_MASK to 3 bits (thus 0x7).
It is safe to expand DP_SET_POWER_MASK to 3 bits since bit 2 in DP 1.1
is reserved and read 0.
Signed-off-by: Quentin Schulz
Signed-off-by: Damian Kos
---
include/drm/drm_dp_helper.h |2 +-
1 files changed, 1
Signed-off-by: Damian Kos
---
drivers/gpu/drm/rockchip/cdn-dp-core.c | 953 +++-
drivers/gpu/drm/rockchip/cdn-dp-core.h | 25 +
drivers/gpu/drm/rockchip/cdn-dp-reg.c |2 +-
drivers/gpu/drm/rockchip/cdn-dp-reg.h |4 +
4 files changed, 960 insertions(+), 24
Added support for a register read, register write and register field write
commands.
Added support for adjust link training command.
Updated cdn_dp_get_event function, so it reads all SW event registers.
Added definitions mostly for Framer and Streamer.
Signed-off-by: Damian Kos
---
drivers/gpu
Stübner
Sent: Tuesday, July 3, 2018 13:03
To: Damian Kos
Cc: David Airlie ; Rob Herring ; Mark
Rutland ; Gustavo Padovan ; Maarten
Lankhorst ; Sean Paul
; Sandy Huang ;
dri-devel@lists.freedesktop.org; devicet...@vger.kernel.org;
linux-ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.or
alfunction
when they discover the higher capabilities within those three
registers.".
Before DP 1.4, DP_EXTENDED_RCVR_CAPA_FIELD_PRESENT bit was reserved
and read 0 so it's safe to check against it even if DP revision is
<1.4
Signed-off-by: Quentin Schulz
Signed-off-by: Dami
68 matches
Mail list logo