t;h...@rock-chips.com>
Looks good.
Reviewed-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 30 +
drivers/gpu/drm/rockchip/rockchip_vop_reg.h | 6 ++
2 files changed, 36 insertions(+)
diff --git a/dri
Looks good.
Reviewed-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 30 +
drivers/gpu/drm/rockchip/rockchip_vop_reg.h | 6 ++
2 files changed, 36 insertions(+)
diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
b/drivers/gpu/drm
t;h...@rock-chips.com>
Looks good.
Reviewed-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 30 +
drivers/gpu/drm/rockchip/rockchip_vop_reg.h | 6 ++
2 files changed, 36 insertions(+)
diff --git a/dri
Looks good.
Reviewed-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 30 +
drivers/gpu/drm/rockchip/rockchip_vop_reg.h | 6 ++
2 files changed, 36 insertions(+)
diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
b/drivers/gpu/drm
For personal reasons, Mark Yao will leave rockchip,
can not continue maintain drm/rockchip, Sandy Huang
will take over the drm/rockchip.
Cc: Sandy Huang <h...@rock-chips.com>
Cc: Heiko Stuebner <he...@sntech.de>
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
MAINTAIN
For personal reasons, Mark Yao will leave rockchip,
can not continue maintain drm/rockchip, Sandy Huang
will take over the drm/rockchip.
Cc: Sandy Huang
Cc: Heiko Stuebner
Signed-off-by: Mark Yao
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS
On 2017年11月10日 20:07, Enric Balletbo Serra wrote:
2017-10-04 19:53 GMT+02:00 Emil Renner Berthing :
On the Samsung Chromebook Plus I get this error with 4.14-rc3:
BUG: scheduling while atomic: kworker/3:1/50/0x0002
Modules linked in:
CPU: 3 PID: 50 Comm: kworker/3:1 Not
On 2017年11月10日 20:07, Enric Balletbo Serra wrote:
2017-10-04 19:53 GMT+02:00 Emil Renner Berthing :
On the Samsung Chromebook Plus I get this error with 4.14-rc3:
BUG: scheduling while atomic: kworker/3:1/50/0x0002
Modules linked in:
CPU: 3 PID: 50 Comm: kworker/3:1 Not tainted
ock-chips.com>
Looks good for me
Acked-by: Mark Yao <mark@rock-chips.com>
Mark
r me
Acked-by: Mark Yao
Mark
On 2017年10月19日 11:48, Jeffy Chen wrote:
Add missing error handling in bind().
Fixes: 412d4ae6b7a5 ("drm/rockchip: hdmi: add Innosilicon HDMI support")
Signed-off-by: Jeffy Chen<jeffy.c...@rock-chips.com>
Looks good for me
Acked-by: Mark Yao <mark@rock-chips.com>
Mark
On 2017年10月19日 11:48, Jeffy Chen wrote:
Add missing error handling in bind().
Fixes: 412d4ae6b7a5 ("drm/rockchip: hdmi: add Innosilicon HDMI support")
Signed-off-by: Jeffy Chen
Looks good for me
Acked-by: Mark Yao
Mark
com>
Looks good for me
Acked-by: Mark Yao <mark@rock-chips.com>
Mark
On 2017年10月19日 11:48, Jeffy Chen wrote:
Add missing pm_runtime_disable() in bind()'s error handling path.
Also cleanup encoder & connector in unbind().
Fixes: 80a9a059d4e4 ("drm/rockchip/dsi: add dw-mipi power domain support")
Signed-off-by: Jeffy Chen
Looks good for me
Acke
On 2017年10月19日 11:48, Jeffy Chen wrote:
The rockchip_drm_psr_register() can fail, so add a sanity check for that.
Also reorder the calls in unbind() to match bind().
Signed-off-by: Jeffy Chen<jeffy.c...@rock-chips.com>
Looks good for me
Acked-by: Mark Yao <mark@rock-chips.com>
Mark
On 2017年10月19日 11:48, Jeffy Chen wrote:
The rockchip_drm_psr_register() can fail, so add a sanity check for that.
Also reorder the calls in unbind() to match bind().
Signed-off-by: Jeffy Chen
Looks good for me
Acked-by: Mark Yao
Mark
.com>
Looks good for me
Acked-by: Mark Yao <mark@rock-chips.com>
---
Changes in v6: None
Changes in v5: None
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 27 ++---
1 file changed, 6 insertions(+), 21 deletions(-)
diff --git a/drivers/gpu/drm/rockchip/ana
On 2017年10月19日 11:48, Jeffy Chen wrote:
Remove unnecessary init code, since we would do it in the power_on()
callback.
Also move of parse code to probe().
Fixes: 9e32e16e9e98 ("drm: rockchip: dp: add rockchip platform dp driver")
Signed-off-by: Jeffy Chen
Looks good for me
Acke
On 2017年10月16日 18:06, Jeffy Chen wrote:
Add edp panel and enable related nodes on kevin.
Signed-off-by: Jeffy Chen <jeffy.c...@rock-chips.com>
---
Looks good.
Reviewed-by: Mark Yao <mark@rock-chips.com>
Changes in v2: None
arch/arm64/boot/dts/rockchip/rk3399-gru-ke
On 2017年10月16日 18:06, Jeffy Chen wrote:
Add edp panel and enable related nodes on kevin.
Signed-off-by: Jeffy Chen
---
Looks good.
Reviewed-by: Mark Yao
Changes in v2: None
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 29 +++
arch/arm64/boot/dts/rockchip
On 2017年10月09日 16:06, Sandy Huang wrote:
Some Rockchip CRTCs, like rv1108, can directly output parallel and
serial RGB data to panel or conversion chip, so we add this driver to
probe encoder and connector.
Signed-off-by: Sandy Huang
---
Changes in v3:
update for
On 2017年10月09日 16:06, Sandy Huang wrote:
Some Rockchip CRTCs, like rv1108, can directly output parallel and
serial RGB data to panel or conversion chip, so we add this driver to
probe encoder and connector.
Signed-off-by: Sandy Huang
---
Changes in v3:
update for rgb-mode move to panel
On 2017年10月05日 20:09, Arnd Bergmann wrote:
The new driver fails to build when CONFIG_PINCTRL is disabled:
drivers/gpu/drm/rockchip/rockchip_lvds.c: In function
'rockchip_lvds_grf_config':
drivers/gpu/drm/rockchip/rockchip_lvds.c:229:39: error: dereferencing pointer
to incomplete type 'struct
On 2017年10月05日 20:09, Arnd Bergmann wrote:
The new driver fails to build when CONFIG_PINCTRL is disabled:
drivers/gpu/drm/rockchip/rockchip_lvds.c: In function
'rockchip_lvds_grf_config':
drivers/gpu/drm/rockchip/rockchip_lvds.c:229:39: error: dereferencing pointer
to incomplete type 'struct
an you rebase your patches to drm-misc-next, these patches would conflict to
current drm-misc-next branch.
And please see my comment inline.
Mark Yao
---
drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 390
drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1 +
drive
-misc-next, these patches would conflict to
current drm-misc-next branch.
And please see my comment inline.
Mark Yao
---
drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 390
drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 1 +
drivers/gpu/drm/rockchip
On 2017年09月26日 15:55, Nickey Yang wrote:
This patch correct Feedback divider setting:
1、Set Feedback divider [8:5] when HIGH_PROGRAM_EN
2、Due to the use of a "by 2 pre-scaler," the range of the
feedback multiplication Feedback divider is limited to even
division numbers, and Feedback divider
On 2017年09月26日 15:55, Nickey Yang wrote:
This patch correct Feedback divider setting:
1、Set Feedback divider [8:5] when HIGH_PROGRAM_EN
2、Due to the use of a "by 2 pre-scaler," the range of the
feedback multiplication Feedback divider is limited to even
division numbers, and Feedback divider
On 2017年09月26日 15:55, Nickey Yang wrote:
Rockchip driver has been moved to using the
DRM_DEV_ERROR log messages, so change all
instances of dev_err.
Signed-off-by: Nickey Yang
Hi Nickey
Haneen Mohammed already send similar patch, and it was applied, see following
On 2017年09月26日 15:55, Nickey Yang wrote:
Rockchip driver has been moved to using the
DRM_DEV_ERROR log messages, so change all
instances of dev_err.
Signed-off-by: Nickey Yang
Hi Nickey
Haneen Mohammed already send similar patch, and it was applied, see following
patch on drm-misc-next
On 2017年09月26日 16:08, Daniel Vetter wrote:
On Tue, Sep 26, 2017 at 02:33:07PM +0800, Mark yao wrote:
On 2017年09月26日 13:12, Daniel Vetter wrote:
On Thu, Sep 21, 2017 at 09:02:22AM +0800, Mark yao wrote:
On 2017年09月21日 06:29, Thomas Meyer wrote:
Use vma_pages function on vma object instead
On 2017年09月26日 16:08, Daniel Vetter wrote:
On Tue, Sep 26, 2017 at 02:33:07PM +0800, Mark yao wrote:
On 2017年09月26日 13:12, Daniel Vetter wrote:
On Thu, Sep 21, 2017 at 09:02:22AM +0800, Mark yao wrote:
On 2017年09月21日 06:29, Thomas Meyer wrote:
Use vma_pages function on vma object instead
On 2017年09月26日 13:12, Daniel Vetter wrote:
On Thu, Sep 21, 2017 at 09:02:22AM +0800, Mark yao wrote:
On 2017年09月21日 06:29, Thomas Meyer wrote:
Use vma_pages function on vma object instead of explicit computation.
Found by coccinelle spatch "api/vma_pages.cocci"
Signed-off-by: Th
On 2017年09月26日 13:12, Daniel Vetter wrote:
On Thu, Sep 21, 2017 at 09:02:22AM +0800, Mark yao wrote:
On 2017年09月21日 06:29, Thomas Meyer wrote:
Use vma_pages function on vma object instead of explicit computation.
Found by coccinelle spatch "api/vma_pages.cocci"
Signed-off-by: Th
On 2017年09月21日 06:29, Thomas Meyer wrote:
Use vma_pages function on vma object instead of explicit computation.
Found by coccinelle spatch "api/vma_pages.cocci"
Signed-off-by: Thomas Meyer <tho...@m3y3r.de>
---
Looks good for me:
Acked-by: Mark Yao <mark@rock-chips
On 2017年09月21日 06:29, Thomas Meyer wrote:
Use vma_pages function on vma object instead of explicit computation.
Found by coccinelle spatch "api/vma_pages.cocci"
Signed-off-by: Thomas Meyer
---
Looks good for me:
Acked-by: Mark Yao
diff -u -p a/drivers/gpu/drm/rockchip/rockchip
On 2017年09月15日 16:36, Haneen Mohammed wrote:
This patch replace instances of dev_info/err/debug with
DRM_DEV_INFO/ERROR/WARN respectively inorder to use a drm-formatted
specific log messages. Issue corrected with the help of the following
Coccinelle script:
@r@
@@
(
-dev_info
+DRM_DEV_INFO
|
On 2017年09月15日 16:36, Haneen Mohammed wrote:
This patch replace instances of dev_info/err/debug with
DRM_DEV_INFO/ERROR/WARN respectively inorder to use a drm-formatted
specific log messages. Issue corrected with the help of the following
Coccinelle script:
@r@
@@
(
-dev_info
+DRM_DEV_INFO
|
Change the tile to:
drm/rockchip: Replace dev_* with DRM_DEV_*
Thanks.
On 2017年09月15日 14:47, Haneen Mohammed wrote:
This patch replace instances of dev_info/err/debug with
DRM_DEV_INFO/ERROR/WARN respectively inorder to use a drm-formatted
specific log messages. Issue corrected with the
Change the tile to:
drm/rockchip: Replace dev_* with DRM_DEV_*
Thanks.
On 2017年09月15日 14:47, Haneen Mohammed wrote:
This patch replace instances of dev_info/err/debug with
DRM_DEV_INFO/ERROR/WARN respectively inorder to use a drm-formatted
specific log messages. Issue corrected with the
On 2017年09月08日 14:12, Mark yao wrote:
On 2017年09月08日 13:04, Heiko Stuebner wrote:
Am Freitag, 8. September 2017, 09:23:09 CEST schrieb Mark yao:
On 2017年09月07日 20:09, Heiko Stübner wrote:
Hi Mark,
Am Donnerstag, 7. September 2017, 18:16:29 CEST schrieb Mark yao:
Looks good for me, so
On 2017年09月08日 14:12, Mark yao wrote:
On 2017年09月08日 13:04, Heiko Stuebner wrote:
Am Freitag, 8. September 2017, 09:23:09 CEST schrieb Mark yao:
On 2017年09月07日 20:09, Heiko Stübner wrote:
Hi Mark,
Am Donnerstag, 7. September 2017, 18:16:29 CEST schrieb Mark yao:
Looks good for me, so
On 2017年09月08日 13:04, Heiko Stuebner wrote:
Am Freitag, 8. September 2017, 09:23:09 CEST schrieb Mark yao:
On 2017年09月07日 20:09, Heiko Stübner wrote:
Hi Mark,
Am Donnerstag, 7. September 2017, 18:16:29 CEST schrieb Mark yao:
Looks good for me, so:
Reviewed-by: Mark Yao <mark@r
On 2017年09月08日 13:04, Heiko Stuebner wrote:
Am Freitag, 8. September 2017, 09:23:09 CEST schrieb Mark yao:
On 2017年09月07日 20:09, Heiko Stübner wrote:
Hi Mark,
Am Donnerstag, 7. September 2017, 18:16:29 CEST schrieb Mark yao:
Looks good for me, so:
Reviewed-by: Mark Yao
I'd like to apply
On 2017年09月07日 20:09, Heiko Stübner wrote:
Hi Mark,
Am Donnerstag, 7. September 2017, 18:16:29 CEST schrieb Mark yao:
Looks good for me, so:
Reviewed-by: Mark Yao <mark@rock-chips.com>
I'd like to apply these lvds patches tomorrow if there is no more doubts.
Rob had some minor co
On 2017年09月07日 20:09, Heiko Stübner wrote:
Hi Mark,
Am Donnerstag, 7. September 2017, 18:16:29 CEST schrieb Mark yao:
Looks good for me, so:
Reviewed-by: Mark Yao
I'd like to apply these lvds patches tomorrow if there is no more doubts.
Rob had some minor comments on v7 of the dt-binding
Hi Sandy
Looks good for me, so:
Reviewed-by: Mark Yao <mark@rock-chips.com>
I'd like to apply these lvds patches tomorrow if there is no more doubts.
Best Regards
Mark
On 2017年09月02日 19:28, Sandy Huang wrote:
This adds support for Rockchip soc lvds found on rk3288
Based on the p
Hi Sandy
Looks good for me, so:
Reviewed-by: Mark Yao
I'd like to apply these lvds patches tomorrow if there is no more doubts.
Best Regards
Mark
On 2017年09月02日 19:28, Sandy Huang wrote:
This adds support for Rockchip soc lvds found on rk3288
Based on the patches from Mark yao and Heiko
On 2017年08月23日 14:26, Sandy Huang wrote:
This patch add Document for Rockchip Soc RK3288 LVDS,
This based on the patches from Mark yao and Heiko Stuebner.
Signed-off-by: Sandy Huang <h...@rock-chips.com>
Signed-off-by: Mark yao <mark@rock-chips.com>
Signed-off-by: Heiko
On 2017年08月23日 14:26, Sandy Huang wrote:
This patch add Document for Rockchip Soc RK3288 LVDS,
This based on the patches from Mark yao and Heiko Stuebner.
Signed-off-by: Sandy Huang
Signed-off-by: Mark yao
Signed-off-by: Heiko Stuebner
---
Looks good for me:
Reviewed-by: Mark Yao
On 2017年08月16日 10:51, Kever Yang wrote:
We need to init vop aclk and hclk incase the U-Boot does not do
the initialize.
Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
---
Looks good for me:
Reviewed-by: Mark Yao <mark@rock-chips.com>
arch/arm64/boot/dts/rockchip
On 2017年08月16日 10:51, Kever Yang wrote:
We need to init vop aclk and hclk incase the U-Boot does not do
the initialize.
Signed-off-by: Kever Yang
---
Looks good for me:
Reviewed-by: Mark Yao
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4
1 file changed, 4 insertions(+)
diff
Hi Sandy
On 2017年08月15日 08:56, Sandy Huang wrote:
This adds support for Rockchip soc lvds found on rk3288
Based on the patches from Mark yao and Heiko Stuebner
Signed-off-by: Sandy Huang <h...@rock-chips.com>
Signed-off-by: Mark yao <mark@rock-chips.com>
Signed-off-by: Heiko
Hi Sandy
On 2017年08月15日 08:56, Sandy Huang wrote:
This adds support for Rockchip soc lvds found on rk3288
Based on the patches from Mark yao and Heiko Stuebner
Signed-off-by: Sandy Huang
Signed-off-by: Mark yao
Signed-off-by: Heiko Stuebner
---
drivers/gpu/drm/rockchip/Kconfig
-by: Jose Abreu <joab...@synopsys.com>
Tested-by: Mark Yao <mark@rock-chips.com>
This is needed for RK3399 support. Can you please apply it?
Best regards,
Jose Miguel Abreu
Cc: Kieran Bingham <kieran.bingham+rene...@ideasonboard.com>
Cc: Laurent Pinchart <laurent.pinchart+ren
-by: Jose Abreu
Tested-by: Mark Yao
This is needed for RK3399 support. Can you please apply it?
Best regards,
Jose Miguel Abreu
Cc: Kieran Bingham
Cc: Laurent Pinchart
Cc: Archit Taneja
Cc: Andrzej Hajda
Cc: Mark Yao
Cc: Carlos Palminha
Cc: Heiko Stübner
Changes in v2:
- Rebased
xf0
[0.756316] [] ret_from_fork+0x10/0x40
[0]: https://01.org/linuxgraphics/gfx-docs/drm/gpu/drm-kms-helpers.html
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
Changes in v1.1:
- According to the kerneldoc, fix the race bug in generic way.
drivers/gpu/drm/rockchip/rockchip_drm_d
xf0
[0.756316] [] ret_from_fork+0x10/0x40
[0]: https://01.org/linuxgraphics/gfx-docs/drm/gpu/drm-kms-helpers.html
Signed-off-by: Mark Yao
---
Changes in v1.1:
- According to the kerneldoc, fix the race bug in generic way.
drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 13 ++---
1 f
On 2017年07月31日 20:28, Daniel Vetter wrote:
On Mon, Jul 31, 2017 at 1:57 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote:
On 31 July 2017 at 10:50, Mark Yao <mark@rock-chips.com> wrote:
Since fb_helper is not a pointer on rockchip_drm_private, it's no
need to check pointer.
On 2017年07月31日 20:28, Daniel Vetter wrote:
On Mon, Jul 31, 2017 at 1:57 PM, Emil Velikov wrote:
On 31 July 2017 at 10:50, Mark Yao wrote:
Since fb_helper is not a pointer on rockchip_drm_private, it's no
need to check pointer.
Kms hotplug event may race into fbdev helper initial
Here are some fixes port from rockchip_linux project[0],
Tested on rk3399 and rk3288 board.
[0]: https://github.com/rockchip-linux/kernel
Mark Yao (6):
drm/rockchip: vop: no need wait vblank on crtc enable
drm/rockchip: vop: fix iommu page fault when resume
drm/rockchip: vop: fix NV12
Here are some fixes port from rockchip_linux project[0],
Tested on rk3399 and rk3288 board.
[0]: https://github.com/rockchip-linux/kernel
Mark Yao (6):
drm/rockchip: vop: no need wait vblank on crtc enable
drm/rockchip: vop: fix iommu page fault when resume
drm/rockchip: vop: fix NV12
Since atomic framework, crtc enable and disable are in pairs,
no need to wait vblank.
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 36 -
1 file changed, 36 deletions(-)
diff --git a/drivers/gpu/drm/ro
Since atomic framework, crtc enable and disable are in pairs,
no need to wait vblank.
Signed-off-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 36 -
1 file changed, 36 deletions(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
b/drivers
The user would be confused while facing a error commit without
any error report.
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vo
The user would be confused while facing a error commit without
any error report.
Signed-off-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
b/drivers/gpu/drm/rockchip
316] [] ret_from_fork+0x10/0x40
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c
b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c
inde
316] [] ret_from_fork+0x10/0x40
Signed-off-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_fb.c
b/drivers/gpu/drm/rockchip/rockchip_drm_fb.c
index 81f9548..e6bd0f4 100644
--- a/driv
igned-off-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 33 +
1 file changed, 15 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
index 0
igned-off-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 33 +
1 file changed, 15 insertions(+), 18 deletions(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
index 0bfd563..0b5fd75 100644
--- a/dr
) + (win0_vir_width%3)
RGB565 : ceil(win0_vir_width/2)
YUV : ceil(win0_vir_width/4)
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vo
fixup the scale calculation formula on the case
src_height == (dst_height/2).
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.h
b/drivers/g
fixup the scale calculation formula on the case
src_height == (dst_height/2).
Signed-off-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.h
b/drivers/gpu/drm/rockchip/rockchip_drm_vop.h
) + (win0_vir_width%3)
RGB565 : ceil(win0_vir_width/2)
YUV : ceil(win0_vir_width/4)
Signed-off-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
b/drivers/gpu/drm/rockchip
Hi
Pushed to drm-misc-next.
Thanks Sean Paul, Jeffy Chen's review, Heiko's test and Rob's ack.
Best regards.
On 2017年07月26日 14:18, Mark Yao wrote:
These patches try to make all current rockchip full framework vop works
on drm, fill missing vop on full framework.
Vop Full framework now has
Hi
Pushed to drm-misc-next.
Thanks Sean Paul, Jeffy Chen's review, Heiko's test and Rob's ack.
Best regards.
On 2017年07月26日 14:18, Mark Yao wrote:
These patches try to make all current rockchip full framework vop works
on drm, fill missing vop on full framework.
Vop Full framework now has
Grouping the vop registers facilitates make register
definition clearer, and also is useful for different vop
reuse the same group register.
Signed-off-by: Mark Yao <mark@rock-chips.com>
Reviewed-by: Jeffy Chen <jeffy.c...@rock-chips.com>
---
Changes in v6.1
- fix Null p
Grouping the vop registers facilitates make register
definition clearer, and also is useful for different vop
reuse the same group register.
Signed-off-by: Mark Yao
Reviewed-by: Jeffy Chen
---
Changes in v6.1
- fix Null pointer crash on vop_reg_set
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
Hi Heiko
On 2017年07月28日 09:02, Mark yao wrote:
Hi Heiko
Thanks for the test.
On 2017年07月27日 18:10, Heiko Stübner wrote:
Am Donnerstag, 27. Juli 2017, 11:51:06 CEST schrieb Heiko Stübner:
Hi Mark,
Am Mittwoch, 26. Juli 2017, 14:19:25 CEST schrieb Mark Yao:
Grouping the vop registers
Hi Heiko
On 2017年07月28日 09:02, Mark yao wrote:
Hi Heiko
Thanks for the test.
On 2017年07月27日 18:10, Heiko Stübner wrote:
Am Donnerstag, 27. Juli 2017, 11:51:06 CEST schrieb Heiko Stübner:
Hi Mark,
Am Mittwoch, 26. Juli 2017, 14:19:25 CEST schrieb Mark Yao:
Grouping the vop registers
Hi Heiko
Thanks for the test.
On 2017年07月27日 18:10, Heiko Stübner wrote:
Am Donnerstag, 27. Juli 2017, 11:51:06 CEST schrieb Heiko Stübner:
Hi Mark,
Am Mittwoch, 26. Juli 2017, 14:19:25 CEST schrieb Mark Yao:
Grouping the vop registers facilitates make register
definition clearer, and also
Hi Heiko
Thanks for the test.
On 2017年07月27日 18:10, Heiko Stübner wrote:
Am Donnerstag, 27. Juli 2017, 11:51:06 CEST schrieb Heiko Stübner:
Hi Mark,
Am Mittwoch, 26. Juli 2017, 14:19:25 CEST schrieb Mark Yao:
Grouping the vop registers facilitates make register
definition clearer, and also
Grouping the vop registers facilitates make register
definition clearer, and also is useful for different vop
reuse the same group register.
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 99
drivers/gpu/drm/ro
then old one.
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
Changes in v3:
- fixup some mistake
- use separate structures instead VOP_REG_VER mechanism
Changes in v2:
- rename rk322x to rk3228(Heiko Stübner)
- correct some vop registers define
drivers/gpu/drm/rockchip/rockchip_drm
Grouping the vop registers facilitates make register
definition clearer, and also is useful for different vop
reuse the same group register.
Signed-off-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 99
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 60
then old one.
Signed-off-by: Mark Yao
---
Changes in v3:
- fixup some mistake
- use separate structures instead VOP_REG_VER mechanism
Changes in v2:
- rename rk322x to rk3228(Heiko Stübner)
- correct some vop registers define
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 9 +
drivers/gpu/drm
] win_rid_win0_cbr
axi read id of win0 cbr channel
bit[3:0] win_rid_win0_yrgb
axi read id of win0 yrgb channel
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 ++
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 1 +
drivers/g
] win_rid_win0_cbr
axi read id of win0 cbr channel
bit[3:0] win_rid_win0_yrgb
axi read id of win0 yrgb channel
Signed-off-by: Mark Yao
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 ++
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 1 +
drivers/gpu/drm/rockchip/rockchip_vop_reg.c
In the hardware design process, the design of line flags
register is associated with the interrupt register,
placing the line flags in the interrupt definition is
more reasonable, and it would make multi-vop define easilier.
Signed-off-by: Mark Yao <mark@rock-chips.com>
Reviewed-by: Sea
flags to vop registers,
then can only do synchronize write for those actual needed register.
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
Changes in v6:
- fix compile error
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 28 ---
drivers/gpu/drm/rockchip/rockchip_drm
In the hardware design process, the design of line flags
register is associated with the interrupt register,
placing the line flags in the interrupt definition is
more reasonable, and it would make multi-vop define easilier.
Signed-off-by: Mark Yao
Reviewed-by: Sean Paul
---
Changes in v6
flags to vop registers,
then can only do synchronize write for those actual needed register.
Signed-off-by: Mark Yao
---
Changes in v6:
- fix compile error
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 28 ---
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 1 +
drivers/gpu/drm
Signed-off-by: Mark Yao <mark@rock-chips.com>
Acked-by: Rob Herring <r...@kernel.org>
---
Changes in v5:
- clean document commit title
- move changes description out of docummit commit msg
Changes in v2:
- rename rk322x to rk3228
- correct some vop registers define
Documentatio
registers directly, and drops
init_table mechanism out.
Signed-off-by: Mark Yao <mark@rock-chips.com>
---
Changes in v6:
- fix rk3036 blank display
Changes in v3:
- Explain more in details
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 6 ++--
drivers/gpu/drm/rockchip/rockchip_drm_vop.
some vop registers define
Mark Yao (7):
drm/rockchip: vop: initialize registers directly
drm/rockchip: vop: move write_relaxed flags to vop register
drm/rockchip: vop: move line_flag_num to interrupt registers
drm/rockchip: vop: group vop registers
drm/rockchip: vop: add a series of vop
registers directly, and drops
init_table mechanism out.
Signed-off-by: Mark Yao
---
Changes in v6:
- fix rk3036 blank display
Changes in v3:
- Explain more in details
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 6 ++--
drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 10 ++-
drivers/gpu/drm
some vop registers define
Mark Yao (7):
drm/rockchip: vop: initialize registers directly
drm/rockchip: vop: move write_relaxed flags to vop register
drm/rockchip: vop: move line_flag_num to interrupt registers
drm/rockchip: vop: group vop registers
drm/rockchip: vop: add a series of vop
Signed-off-by: Mark Yao
Acked-by: Rob Herring
---
Changes in v5:
- clean document commit title
- move changes description out of docummit commit msg
Changes in v2:
- rename rk322x to rk3228
- correct some vop registers define
Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt
On 2017年07月26日 05:54, Heiko Stuebner wrote:
Hi Mark,
Am Donnerstag, 20. Juli 2017, 10:43:32 CEST schrieb Mark Yao:
In the hardware design process, the design of line flags
register is associated with the interrupt register,
placing the line flags in the interrupt definition is
more reasonable
On 2017年07月26日 05:47, Heiko Stuebner wrote:
Hi Mark,
Am Donnerstag, 20. Juli 2017, 10:43:27 CEST schrieb Mark Yao:
Since the drm atomic framework, only a small part of the vop
register needs sync write, Currently seems only following registers
need sync write:
cfg_done, standby
1 - 100 of 1026 matches
Mail list logo