mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
cb78fffd4eb991923d41101d0bcfe7f4e129b13d
When splice mode enabled, setup color key on both left and right win. Without this patch, kernel will panic when display more than 4k resolution content: [ 29.233947][ T393] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000f8 [ 29.234836][ T393] Mem abort info: [ 29.235155][ T393] ESR = 0x0000000096000005 [ 29.235557][ T393] EC = 0x25: DABT (current EL), IL = 32 bits [ 29.236090][ T393] SET = 0, FnV = 0 [ 29.236431][ T393] EA = 0, S1PTW = 0 [ 29.236784][ T393] FSC = 0x05: level 1 translation fault [ 29.237280][ T393] Data abort info: [ 29.237607][ T393] ISV = 0, ISS = 0x00000005 [ 29.238019][ T393] CM = 0, WnR = 0 [ 29.238356][ T393] user pgtable: 4k pages, 39-bit VAs, pgdp=0000000108580000 [ 29.239031][ T393] [00000000000000f8] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000 [ 29.239877][ T393] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP [ 29.240495][ T393] Modules linked in: bcmdhd(O) [ 29.240921][ T393] CPU: 7 PID: 393 Comm: drm-compositor Tainted: G O 6.1.57 #361 [ 29.241714][ T393] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT) [ 29.242327][ T393] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 29.243014][ T393] pc : vop2_win_atomic_update+0x44c8/0x5cec [ 29.243537][ T393] lr : vop2_win_atomic_update+0x35f0/0x5cec [ 29.244051][ T393] sp : ffffffc00de6b7c0 [ 29.244413][ T393] x29: ffffffc00de6b8d0 x28: ffffffc0095d01f8 x27: ffffff81013fc060 [ 29.245116][ T393] x26: 00000000000010e0 x25: 0000000000000f00 x24: 00000000000003c0 [ 29.245817][ T393] x23: 0000000000000000 x22: ffffff815ba59600 x21: ffffff81013fbab8 [ 29.246516][ T393] x20: ffffff817ed99400 x19: ffffff81013f0040 x18: ffffffc00dcfd080 [ 29.247201][ T393] x17: 0000000000000001 x16: 000000000000000a x15: 0000000000000001 [ 29.247888][ T393] x14: 00000000000000c0 x13: 0000000000000019 x12: 0000000000001a30 [ 29.248574][ T393] x11: ffffffc00cfa8000 x10: 0000000000000001 x9 : 0000000000000000 [ 29.249261][ T393] x8 : ffffff81013f0040 x7 : 00000000000003c0 x6 : 0000000000000438 [ 29.249946][ T393] x5 : 00000000000003c0 x4 : ffffffc009bc5728 x3 : 0000000000000f00 [ 29.250633][ T393] x2 : ffffff81013fc034 x1 : 0000000000000001 x0 : 0000000000003ff4 [ 29.251321][ T393] Call trace: [ 29.251600][ T393] vop2_win_atomic_update+0x44c8/0x5cec [ 29.252077][ T393] vop2_plane_atomic_update+0x2b8/0x31c [ 29.252559][ T393] drm_atomic_helper_commit_planes+0xb4/0x1e0 [ 29.253083][ T393] rockchip_drm_atomic_helper_commit_tail_rpm+0x1b4/0x2c4 [ 29.253696][ T393] commit_tail+0xa4/0x154 [ 29.254065][ T393] drm_atomic_helper_commit+0x1c4/0x1e4 [ 29.254545][ T393] drm_atomic_commit+0xa4/0xd0 [ 29.254957][ T393] drm_mode_atomic_ioctl+0x5e4/0x754 [ 29.255414][ T393] drm_ioctl_kernel+0x80/0xf8 [ 29.255816][ T393] drm_ioctl+0x2d4/0x554 [ 29.256183][ T393] __arm64_sys_ioctl+0x90/0xc8 [ 29.256596][ T393] invoke_syscall+0x40/0x104 [ 29.256989][ T393] el0_svc_common+0xbc/0x168 [ 29.257380][ T393] do_el0_svc+0x1c/0x28 [ 29.257738][ T393] el0_svc+0x1c/0x68 [ 29.258075][ T393] el0t_64_sync_handler+0x68/0xb4 [ 29.258510][ T393] el0t_64_sync+0x164/0x168 Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com> Change-Id: I1929270e920d469e6c12dca1301ac4fcc5e82fdc
Merge tag 'mm-hotfixes-stable-2022-12-10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
…
…
…
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%