]> 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)
commitef5aa46e08ab35a4fdbda315356919bc1eb0ea3a
treed6a9176ba6b06eb409cb5c5d891d2f0098fc42b7
parent5cdfee9afee1e18b19c69bcd02c55cd49a940445
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