]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915/dp: fall back to 18 bpp when sink capability is unknown
authorJani Nikula <jani.nikula@intel.com>
Wed, 13 Jan 2016 14:35:20 +0000 (16:35 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 15 Jan 2016 09:41:19 +0000 (11:41 +0200)
commit013dd9e038723bbd2aa67be51847384b75be8253
tree5cd4e6a35fa0c4538075e20b9a6cd09f1f1fce9a
parent6765bd6dd28eb3c087e5011a2944c00872dd5906
drm/i915/dp: fall back to 18 bpp when sink capability is unknown

Per DP spec, the source device should fall back to 18 bpp, VESA range
RGB when the sink capability is unknown. Fix the color depth
clamping. 18 bpp color depth should ensure full color range in automatic
mode.

The clamping has been HDMI specific since its introduction in

commit 996a2239f93b03c5972923f04b097f65565c5bed
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Apr 19 11:24:34 2013 +0200

    drm/i915: Disable high-bpc on pre-1.4 EDID screens

Cc: stable@vger.kernel.org
Reported-and-tested-by: Dihan Wickremasuriya <nayomal@gmail.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=105331
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1452695720-7076-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_display.c