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)
commit837f93247634b12e5eebb3d707405b701a4f3479
treed6a9176ba6b06eb409cb5c5d891d2f0098fc42b7
parent17917ff62443414569ea76e151e7a7ef44812264
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