All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/rockchip: vop_reg: add PX30 version info
@ 2021-01-31 12:50 Johan Jonker
  2021-05-28 18:55   ` Heiko Stuebner
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Jonker @ 2021-01-31 12:50 UTC (permalink / raw)
  To: heiko
  Cc: airlied, hjc, dri-devel, linux-kernel, linux-rockchip, linux-arm-kernel

To reduce memory various Rockchip VOP versions share
common reg structures. However more recent added SoCs not
always have to same futures as the old ones.
Add PX30 missing version info, so all VOP version checks
work correct if needed in the future.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
index 80053d91a..0697057e7 100644
--- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
+++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
@@ -312,6 +312,7 @@ static const struct vop_win_data px30_vop_big_win_data[] = {
 };
 
 static const struct vop_data px30_vop_big = {
+	.version = VOP_VERSION(2, 6),
 	.intr = &px30_intr,
 	.feature = VOP_FEATURE_INTERNAL_RGB,
 	.common = &px30_common,
@@ -327,6 +328,7 @@ static const struct vop_win_data px30_vop_lit_win_data[] = {
 };
 
 static const struct vop_data px30_vop_lit = {
+	.version = VOP_VERSION(2, 5),
 	.intr = &px30_intr,
 	.feature = VOP_FEATURE_INTERNAL_RGB,
 	.common = &px30_common,
-- 
2.11.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] drm/rockchip: vop_reg: add PX30 version info
  2021-01-31 12:50 [PATCH] drm/rockchip: vop_reg: add PX30 version info Johan Jonker
  2021-05-28 18:55   ` Heiko Stuebner
  (?)
@ 2021-05-28 18:55   ` Heiko Stuebner
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2021-05-28 18:55 UTC (permalink / raw)
  To: Johan Jonker
  Cc: Heiko Stuebner, linux-kernel, linux-arm-kernel, airlied, hjc,
	dri-devel, linux-rockchip

On Sun, 31 Jan 2021 13:50:16 +0100, Johan Jonker wrote:
> To reduce memory various Rockchip VOP versions share
> common reg structures. However more recent added SoCs not
> always have to same futures as the old ones.
> Add PX30 missing version info, so all VOP version checks
> work correct if needed in the future.

Applied, thanks!

[1/1] drm/rockchip: vop_reg: add PX30 version info
      commit: 872b68e9750eddd086b93a6004ebe82c64aef670

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] drm/rockchip: vop_reg: add PX30 version info
@ 2021-05-28 18:55   ` Heiko Stuebner
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2021-05-28 18:55 UTC (permalink / raw)
  To: Johan Jonker
  Cc: Heiko Stuebner, linux-kernel, linux-arm-kernel, airlied, hjc,
	dri-devel, linux-rockchip

On Sun, 31 Jan 2021 13:50:16 +0100, Johan Jonker wrote:
> To reduce memory various Rockchip VOP versions share
> common reg structures. However more recent added SoCs not
> always have to same futures as the old ones.
> Add PX30 missing version info, so all VOP version checks
> work correct if needed in the future.

Applied, thanks!

[1/1] drm/rockchip: vop_reg: add PX30 version info
      commit: 872b68e9750eddd086b93a6004ebe82c64aef670

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] drm/rockchip: vop_reg: add PX30 version info
@ 2021-05-28 18:55   ` Heiko Stuebner
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2021-05-28 18:55 UTC (permalink / raw)
  To: Johan Jonker
  Cc: Heiko Stuebner, linux-kernel, linux-arm-kernel, airlied, hjc,
	dri-devel, linux-rockchip

On Sun, 31 Jan 2021 13:50:16 +0100, Johan Jonker wrote:
> To reduce memory various Rockchip VOP versions share
> common reg structures. However more recent added SoCs not
> always have to same futures as the old ones.
> Add PX30 missing version info, so all VOP version checks
> work correct if needed in the future.

Applied, thanks!

[1/1] drm/rockchip: vop_reg: add PX30 version info
      commit: 872b68e9750eddd086b93a6004ebe82c64aef670

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] drm/rockchip: vop_reg: add PX30 version info
@ 2021-05-28 18:55   ` Heiko Stuebner
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stuebner @ 2021-05-28 18:55 UTC (permalink / raw)
  To: Johan Jonker
  Cc: airlied, hjc, dri-devel, linux-kernel, linux-rockchip, linux-arm-kernel

On Sun, 31 Jan 2021 13:50:16 +0100, Johan Jonker wrote:
> To reduce memory various Rockchip VOP versions share
> common reg structures. However more recent added SoCs not
> always have to same futures as the old ones.
> Add PX30 missing version info, so all VOP version checks
> work correct if needed in the future.

Applied, thanks!

[1/1] drm/rockchip: vop_reg: add PX30 version info
      commit: 872b68e9750eddd086b93a6004ebe82c64aef670

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-28 18:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-31 12:50 [PATCH] drm/rockchip: vop_reg: add PX30 version info Johan Jonker
2021-05-28 18:55 ` Heiko Stuebner
2021-05-28 18:55   ` Heiko Stuebner
2021-05-28 18:55   ` Heiko Stuebner
2021-05-28 18:55   ` Heiko Stuebner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.