mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
c190cb7219923392751aced0e281d8e8fc573a84
According to the following commits: commit9d0e3cac35("drm/atomic: Allow vblank-enabled + self-refresh "disable"") commit2bdba9d4a3("drm/rockchip: vop: Leave vblank enabled in self-refresh") It is better to leave vblank enabled after entering the PSR mode, in order to ensure that the vblank APIs (like DRM_IOCTL_WAIT_VBLANK) can work in PSR mode. User space is not aware when the display system is already in PSR mode, so this appears to be an API violation. Without this patch, there may be a warning according to the following check in drivers/gpu/drm/drm_atomic_helper.c: static void disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) { ...... ret = drm_crtc_vblank_get(crtc); /* * Self-refresh is not a true "disable"; ensure vblank remains * enabled. */ if (new_crtc_state->self_refresh_active) WARN_ONCE(ret != 0, "driver disabled vblank in self-refresh\n"); else WARN_ONCE(ret != -EINVAL, "driver forgot to call drm_crtc_vblank_off()\n"); if (ret == 0) drm_crtc_vblank_put(crtc); ...... } Change-Id: Ide735636ab53fd6977de5034b8cfc4c8341220af 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%