]> 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)
commite89115b18166d40e1322822a5b9e120a86760fd3
tree7f9851234183dd55aa650721eeb83f02147aa6ea
parent2a37049a2f8df56d79160f47ec214d4135982e71
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