]> git.baikalelectronics.ru Git - kernel.git/commit
Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()
authorPeter Jones <pjones@redhat.com>
Fri, 6 Jul 2018 19:04:24 +0000 (15:04 -0400)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Apr 2020 16:14:59 +0000 (19:14 +0300)
commitbc1d14e62049a96be82b8844bd57103da6bbb2cc
tree1a8c0e61782e72e69360fc049b7d15323020fe41
parent107be48783f890404db22d1ad3472261c8f6a2c4
Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()

This was sort of annoying me:

random:~$ dmesg | tail -1
[523884.039227] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
random:~$ dmesg | grep -c "Reducing the compressed"
47

This patch makes it DRM_INFO_ONCE() just like the similar message
farther down in that function is pr_info_once().

Cc: stable@vger.kernel.org
Signed-off-by: Peter Jones <pjones@redhat.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1745
Link: https://patchwork.freedesktop.org/patch/msgid/20180706190424.29194-1-pjones@redhat.com
[vsyrjala: Rebase due to per-device logging]
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/display/intel_fbc.c