Skip to content

Commit

Permalink
rpardini: config: rk35xx kernel patches: desperate attempt at black-v…
Browse files Browse the repository at this point in the history
…ideo kodi vs vop2
  • Loading branch information
rpardini committed Sep 30, 2024
1 parent 2eedbc1 commit 8ed2c8d
Showing 1 changed file with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ricardo Pardini <[email protected]>
Date: Mon, 30 Sep 2024 00:52:58 +0200
Subject: vop2 rbga2101010 capability fix (6.1-rkr3 adapted version)

- from https://raw.githubusercontent.com/wiki/hbiyik/ffmpeg-rockchip/patches/rockchip-kernel/0002-vop2_rgba2101010_capability_fix.patch
---
drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c
index 31691b910fc6e..3e2fc783639c8 100644
--- a/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c
+++ b/drivers/gpu/drm/rockchip/rockchip_vop2_reg.c
@@ -24,22 +24,20 @@
.write_mask = _write_mask, \
}

#define VOP_REG(off, _mask, _shift) \
_VOP_REG(off, _mask, _shift, false)

#define VOP_REG_MASK(off, _mask, s) \
_VOP_REG(off, _mask, s, true)

static const uint32_t formats_for_cluster[] = {
- DRM_FORMAT_XRGB2101010,
- DRM_FORMAT_XBGR2101010,
DRM_FORMAT_XRGB8888,
DRM_FORMAT_ARGB8888,
DRM_FORMAT_XBGR8888,
DRM_FORMAT_ABGR8888,
DRM_FORMAT_RGB888,
DRM_FORMAT_BGR888,
DRM_FORMAT_RGB565,
DRM_FORMAT_BGR565,
DRM_FORMAT_YUV420_8BIT, /* yuv420_8bit non-Linear mode only */
DRM_FORMAT_YUV420_10BIT, /* yuv420_10bit non-Linear mode only */
--
Armbian

0 comments on commit 8ed2c8d

Please sign in to comment.