Skip to contentSkip to conversation

drm/rockchip: add cdn-dp support and some fixes

GIT PULL Mark yao 2 participants 3 messages Feb 5, 2017 – Feb 7, 2017 Arm Rockchip

lore
Share & tools
lore

Mark yao

author
#0 lore raw

Hi Dave

drm/rockchip cdn-dp driver is v17 now, I think it's ready to land it.

Thanks.

The following changes since commit 99743ae4c5f52f8f8ceb17783056fcc9b4f8b64c:

Merge branch 'drm-etnaviv-next' of
https://git.pengutronix.de/git/lst/linux into drm-next (2017-02-03 05:41:58 +1000)

are available in the git repository at:

https://github.com/markyzq/kernel-drm-rockchip.git
drm-rockchip-next-2017-02-05

for you to fetch changes up to ef1844b7ed847430955a95d20242f0d1b9f5fa64:

drm/rockchip: cdn-dp: don't configure hardware in mode_set
(2017-02-05 16:30:11 +0800)

----------------------------------------------------------------
Chris Zhong (5):
drm/rockchip: vop: make vop register setting take effect drm/rockchip: cdn-dp: add cdn DP support for rk3399 drm/rockchip: cdn-dp: do not use drm_helper_hpd_irq_event drm/rockchip: cdn-dp: retry to check sink count drm/rockchip: cdn-dp: don't configure hardware in mode_set

Guenter Roeck (2):
drm/rockchip: cdn-dp: Load firmware if no monitor connected drm/rockchip: cdn-dp: Do not run worker while suspended

Jeffy Chen (1):
drm/rockchip: cdn-dp: Move mutex_init to probe

Julia Lawall (1):
drm/rockchip: return ERR_PTR instead of NULL

 drivers/gpu/drm/rockchip/Kconfig            |   10 +
 drivers/gpu/drm/rockchip/Makefile           |    2 +
 drivers/gpu/drm/rockchip/cdn-dp-core.c      | 1260 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/rockchip/cdn-dp-core.h      |  112 ++++++++++++
 drivers/gpu/drm/rockchip/cdn-dp-reg.c       |  979 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/rockchip/cdn-dp-reg.h       |  483 
++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/rockchip/rockchip_drm_fb.c  |    2 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c |   17 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.h |    9 +
 drivers/gpu/drm/rockchip/rockchip_vop_reg.c |    2 +
 10 files changed, 2872 insertions(+), 4 deletions(-)
 create mode 100644 drivers/gpu/drm/rockchip/cdn-dp-core.c
 create mode 100644 drivers/gpu/drm/rockchip/cdn-dp-core.h
 create mode 100644 drivers/gpu/drm/rockchip/cdn-dp-reg.c
 create mode 100644 drivers/gpu/drm/rockchip/cdn-dp-reg.h

-- Mark Yao

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 4 lines · Mark yao

Hi Dave

drm/rockchip cdn-dp driver is v17 now, I think it's ready to land it.

Quoted 8 lines

Thanks.

The following changes since commit 99743ae4c5f52f8f8ceb17783056fcc9b4f8b64c:

Merge branch 'drm-etnaviv-next' of
https://git.pengutronix.de/git/lst/linux into drm-next (2017-02-03 05:41:58 +1000)

CC [M] drivers/gpu/drm/rockchip/rockchip_vop_reg.o
CC [M] drivers/gpu/drm/rockchip/rockchip_drm_vop.o
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/rockchip/cdn-dp-reg.c:
In function ‘cdn_dp_config_video’:
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/rockchip/cdn-dp-reg.c:632:24:
warning: ‘val[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
msa_misc = 2 * val[0] + 32 * val[1] +

             ~~~~~~~~~~~^~~~~~~~~~~~~

/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/rockchip/cdn-dp-reg.c:595:5:
note: ‘val[1]’ was declared here
u8 val[2];

You might want to send me a follow up pull request to fix that.

Dave.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author
#2 lore raw
Quoted 21 lines · Dave Airlie
Quoted 4 lines · Mark yao

Hi Dave

drm/rockchip cdn-dp driver is v17 now, I think it's ready to land it.

Quoted 8 lines

Thanks.

The following changes since commit 99743ae4c5f52f8f8ceb17783056fcc9b4f8b64c:

Merge branch 'drm-etnaviv-next' of
https://git.pengutronix.de/git/lst/linux into drm-next (2017-02-03 05:41:58 +1000)

CC [M] drivers/gpu/drm/rockchip/rockchip_vop_reg.o
CC [M] drivers/gpu/drm/rockchip/rockchip_drm_vop.o
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/rockchip/cdn-dp-reg.c:
In function ‘cdn_dp_config_video’:
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/rockchip/cdn-dp-reg.c:632:24:
warning: ‘val[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
msa_misc = 2 * val[0] + 32 * val[1] +

Quoted 9 lines
              ~~~~~~~~~~~^~~~~~~~~~~~~

/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/rockchip/cdn-dp-reg.c:595:5:
note: ‘val[1]’ was declared here
u8 val[2];

You might want to send me a follow up pull request to fix that.

Dave.

Hi Dave

Sorry for the compile warning, following patch fix the compile warning with tiny modify.

Thanks.

The following changes since commit 26d7f34cae7aad9600cd40ce07ec3fbe8606a567:

Merge branch 'msm-next' of
git://people.freedesktop.org/~robclark/linux into drm-next (2017-02-07 11:05:42 +1000)

are available in the git repository at:

https://github.com/markyzq/kernel-drm-rockchip.git
drm-rockchip-next-2017-02-07

for you to fetch changes up to 213c4b96639818a2dc8750d1b7a37672a9c9eaeb:

drm/rockchip: cdn-dp: fix cdn-dp complie warning (2017-02-07 11:06:01
+0800)

----------------------------------------------------------------
Mark Yao (1):
drm/rockchip: cdn-dp: fix cdn-dp complie warning

 drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 7 lines
Mark Yao


_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel