Detlev Casanova
06133cecec
drm/rockchip: vop2: Do not divide height twice for YUV
...
[ Upstream commit e80c219f52861e756181d7f88b0d341116daac2b ]
For the cbcr format, gt2 and gt4 are computed again after src_h has been
divided by vsub.
As src_h as already been divided by 2 before, introduce cbcr_src_h and
cbcr_src_w to keep a copy of those values to be used for cbcr gt2 and
gt4 computation.
This fixes yuv planes being unaligned vertically when down scaling to
1080 pixels from 2160.
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
Fixes: 604be85547ce ("drm/rockchip: Add VOP2 driver")
Acked-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240414182706.655270-1-detlev.casanova@collabora.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-30 09:49:41 +02:00
..
2024-05-17 12:14:44 +02:00
2024-05-30 09:48:41 +02:00
2024-05-30 09:49:22 +02:00
2024-05-25 16:28:39 +02:00
2024-05-17 12:14:41 +02:00
2024-02-03 12:46:13 +00:00
2024-01-12 11:32:19 -08:00
2024-05-17 12:14:26 +02:00
2024-05-30 09:49:01 +02:00
2024-05-30 09:49:30 +02:00
2024-04-13 13:10:08 +02:00
2024-02-21 16:24:10 +00:00
2024-05-30 09:49:02 +02:00
2024-05-17 12:15:05 +02:00
2024-04-03 15:32:32 +02:00
2024-04-27 17:12:58 +02:00
2024-02-13 11:15:44 +01:00
2024-02-16 18:51:00 -05:00
2024-05-30 09:49:15 +02:00
2024-04-13 13:09:58 +02:00
2024-05-30 09:49:03 +02:00
2024-05-02 16:35:16 +02:00
2024-01-10 08:45:22 -08:00
2024-05-30 09:48:45 +02:00
2024-04-10 16:37:54 +02:00
2024-05-30 09:49:27 +02:00
2024-05-30 09:49:10 +02:00
2024-05-17 12:15:00 +02:00
2024-05-30 09:49:01 +02:00
2024-05-30 09:48:52 +02:00
2024-01-18 11:37:24 -08:00
2024-05-30 09:49:22 +02:00
2024-05-30 09:49:41 +02:00
2024-01-18 11:37:24 -08:00
2024-05-30 09:49:23 +02:00
2024-05-17 12:14:47 +02:00
2024-05-17 12:15:07 +02:00
2024-03-26 18:17:30 -04:00
2024-05-02 16:35:34 +02:00
2024-03-26 18:17:24 -04:00
2024-01-09 16:32:11 -08:00
2024-05-17 12:15:03 +02:00
2024-05-17 12:14:50 +02:00
2024-05-30 09:48:53 +02:00
2024-04-27 17:12:56 +02:00
2024-05-17 12:15:08 +02:00
2024-01-18 11:37:24 -08:00
2024-05-30 09:49:10 +02:00
2024-04-03 15:32:15 +02:00
2024-05-30 09:49:17 +02:00
2024-01-17 15:39:32 -08:00
2024-05-30 09:49:24 +02:00
2024-05-30 09:49:41 +02:00
2024-03-26 18:16:46 -04:00
2024-04-03 15:32:35 +02:00
2024-05-30 09:49:02 +02:00
2024-05-02 16:35:26 +02:00
2024-05-30 09:49:34 +02:00
2024-05-30 09:49:31 +02:00
2024-05-02 16:35:16 +02:00
2024-03-26 18:17:06 -04:00
2024-01-18 16:44:03 -08:00
2024-05-30 09:48:56 +02:00
2024-04-03 15:32:16 +02:00
2024-04-10 16:38:19 +02:00
2024-03-26 18:16:56 -04:00
2024-04-03 15:32:18 +02:00
2024-05-30 09:49:17 +02:00
2024-05-02 16:35:34 +02:00
2024-05-17 12:14:24 +02:00
2024-05-30 09:49:38 +02:00
2024-04-13 13:09:59 +02:00
2024-01-17 14:37:40 -08:00
2024-05-17 12:14:24 +02:00
2024-04-03 15:32:04 +02:00
2024-05-30 09:49:24 +02:00
2024-05-30 09:49:19 +02:00
2024-05-30 09:48:51 +02:00
2024-05-25 16:28:40 +02:00
2024-01-11 11:31:46 -08:00
2024-03-26 18:17:30 -04:00
2024-05-30 09:48:58 +02:00
2024-05-30 09:49:22 +02:00
2024-05-17 12:15:04 +02:00
2024-05-30 09:49:02 +02:00
2024-05-02 16:35:32 +02:00
2024-05-17 12:15:09 +02:00
2024-05-30 09:49:39 +02:00
2024-05-17 12:14:43 +02:00
2024-03-04 09:49:03 +01:00
2024-05-30 09:49:16 +02:00
2024-04-27 17:13:04 +02:00
2024-05-30 09:48:41 +02:00
2024-05-30 09:49:15 +02:00
2024-05-17 12:14:47 +02:00
2024-05-25 16:28:39 +02:00
2024-03-26 18:17:35 -04:00
2024-05-17 12:15:11 +02:00
2024-04-17 11:23:39 +02:00
2024-05-30 09:49:39 +02:00
2024-04-27 17:12:48 +02:00
2024-04-03 15:32:25 +02:00
2024-03-26 18:17:25 -04:00
2024-04-13 13:10:10 +02:00
2024-01-12 12:38:37 +01:00