OSDN Git Service

drm/i915: Clean up the baseline bpp computation
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 7 Nov 2018 21:35:22 +0000 (23:35 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 12 Nov 2018 11:27:04 +0000 (13:27 +0200)
commitbcce8d8633ff0167d5684f1076eea7ee6df63581
tree33c04c91b01f31464ad765ee99ccac77e38daf26
parentd26592c601ec242090dc3a879d57ad51ffe437db
drm/i915: Clean up the baseline bpp computation

Pass on the errno all the way from connected_sink_max_bpp(),
and make the base_bpp handling in intel_modeset_pipe_config()
a bit less ugly. We'll also rename connected_sink_max_bpp()
to not give the impression that it return the bpp value,
and we'll pimp up the debug message within to include the
connector name/id.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181107213522.17590-3-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_display.c