]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dsc: Modify DRM helper to return complete DSC color depth capabilities
authorManasi Navare <manasi.d.navare@intel.com>
Tue, 27 Nov 2018 21:41:03 +0000 (13:41 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Tue, 27 Nov 2018 23:30:34 +0000 (15:30 -0800)
commitb256ef7b308c9190199cb150ee41374558f18437
tree7f9851234183dd55aa650721eeb83f02147aa6ea
parent1dc558b41da1cb841e1206540e77ef2dad8367d6
drm/dsc: Modify DRM helper to return complete DSC color depth capabilities

DSC DPCD color depth register advertises its color depth capabilities
by setting each of the bits that corresponding to a specific color
depth. This patch defines those specific color depths and adds
a helper to return an array of color depth capabilities.

v2:
* Simplify the logic (Ville)

Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Acked-by: Sean Paul <seanpaul@chromium.org> (For merging through
drm-intel)
Reviewed-by: Ville Syrjala <ville.syrjala@linux.intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181127214125.17658-1-manasi.d.navare@intel.com
drivers/gpu/drm/drm_dp_helper.c
include/drm/drm_dp_helper.h