]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dpcd_bl: Print return codes for VESA backlight failures
authorLyude Paul <lyude@redhat.com>
Fri, 14 May 2021 18:15:01 +0000 (14:15 -0400)
committerLyude Paul <lyude@redhat.com>
Wed, 9 Jun 2021 17:35:22 +0000 (13:35 -0400)
commit97246056c4cd4a0af3dce48766b3e6da3056c6d9
treed6a9176ba6b06eb409cb5c5d891d2f0098fc42b7
parent8eb9cf00d242c8f2d16813c5d94d28d241d3e018
drm/i915/dpcd_bl: Print return codes for VESA backlight failures

Also, stop printing the DPCD register that failed, and just describe it
instead. Saves us from having to look up each register offset when reading
through kernel logs (plus, DPCD dumping with drm.debug |= 0x100 will give
us that anyway).

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210514181504.565252-8-lyude@redhat.com
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c