8000 video: rockchip: rga3: fix 4:2:2 10-bit reading in rga2 by nyanmisaka · Pull Request #116 · armbian/linux-rockchip · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

video: rockchip: rga3: fix 4:2:2 10-bit reading in rga2 #116

8000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

nyanmisaka
Copy link
Member

Like 4:2:0 10-bit, rotate_mode needs to be assigned to (1 << 6) when scaling is not going to be used in rga2.
Or the output image is corrupted.

Like 4:2:0 10-bit, rotate_mode needs to be assigned to
(1 << 6) when scaling is not going to be used in rga2.
Or the output image is corrupted.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
@igorpecovnik igorpecovnik merged commit 4e7f8e8 into armbian:rk-5.10-rkr6 Nov 7, 2023
@nyanmisaka nyanmisaka deleted the fix-rga2-422-10b-read branch November 7, 2023 07:00
@nyanmisaka nyanmisaka restored the fix-rga2-422-10b-read branch November 7, 2023 15:30
Joshua-Riek pushed a commit to Joshua-Riek/linux-rockchip that referenced this pull request Sep 1, 2024
On sync reset reload work, when remote host updates devlink on reload
actions performed on that host, it misses taking devlink lock before
calling devlink_remote_reload_actions_performed() which results in
triggering lock assert like the following:

WARNING: CPU: 4 PID: 1164 at net/devlink/core.c:261 devl_assert_locked+0x3e/0x50
…
 CPU: 4 PID: 1164 Comm: kworker/u96:6 Tainted: G S      W          6.10.0-rc2+ armbian#116
 Hardware name: Supermicro SYS-2028TP-DECTR/X10DRT-PT, BIOS 2.0 12/18/2015
 Workqueue: mlx5_fw_reset_events mlx5_sync_reset_reload_work [mlx5_core]
 RIP: 0010:devl_assert_locked+0x3e/0x50
…
 Call Trace:
  <TASK>
  ? __warn+0xa4/0x210
  ? devl_assert_locked+0x3e/0x50
  ? report_bug+0x160/0x280
  ? handle_bug+0x3f/0x80
  ? exc_invalid_op+0x17/0x40
  ? asm_exc_invalid_op+0x1a/0x20
  ? devl_assert_locked+0x3e/0x50
  devlink_notify+0x88/0x2b0
  ? mlx5_attach_device+0x20c/0x230 [mlx5_core]
  ? __pfx_devlink_notify+0x10/0x10
  ? process_one_work+0x4b6/0xbb0
  process_one_work+0x4b6/0xbb0
[…]

Fixes: 84a433a ("net/mlx5: Lock mlx5 devlink reload callbacks")
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://patch.msgid.link/20240730061638.1831002-6-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0