mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
6092eb96b6ad98beb1525dad5fde9e20f48d4b38
Before the patch, the possible_crtcs in struct vop2_win_data is used to register planes for DRM. But the index in struct drm_crtc may be different from the id in struct vop2_video_port, it may cause the warning: [ 3.105377][ T10] Bogus primary plane possible_crtcs: [PLANE:56:Esmart1-win0] must be compatible with [CRTC:72:video_port1] [ 3.105395][ T10] WARNING: CPU: 6 PID: 10 at drivers/gpu/drm/drm_mode_config.c:669 drm_mode_config_validate+0x380/0x4f0 To fix it, replace the possible_crtcs with possible_vp_mask in struct vop2_win_data, which indicates the limitation by vp id exactly, and add the vop2_win_get_possible_crtcs() to calculate exact possible_crtcs for registration process. Change-Id: Iaa866e90c894b9422f55872d0c5e7056f44dd489 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
…
…
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%