On 2018-05-14 10:05 PM, Manasi Navare wrote:
VESA Display Stream Compression is a specification for visually losless video compression over display links. The DSC standard also defines a picture parameter set (PPS) which encoder must communicate to decoders. This is done by encapsulating PPS header and payload bytes in an infoframe that can be sent to the display sink using secondary data packets as defined in DP 1.4 spec.
This patch series creates a new files drm_dsc.h and drm_dsc.c which define all the DSC related structures and helpers that can be called by drivers to form DSC PPS infoframes before enabling Display Stream compression on eDP/DP/MIPI
v2: *This is a v2 of the original patch series which adds kernel-doc hooks for the new dsc files in drm-kms-helpers.rst. (Daniel Vetter)
Cc: dri-devel@lists.freedesktop.org Cc: Jani Nikula jani.nikula@linux.intel.com Cc: Ville Syrjala ville.syrjala@linux.intel.com Cc: Anusha Srivatsa anusha.srivatsa@intel.com
With my comments for patch 2 and 3 addressed patches 1-3 are Reviewed-by: Harry Wentland harry.wentland@amd.com
Patch 4 is Acked-by: Harry Wentland harry.wentland@amd.com
Harry
Gaurav K Singh (1): drm/dsc: Define VESA Display Stream Compression Capabilities
Manasi Navare (3): drm/dp: Define payload size for DP SDP PPS packet drm/dsc: Define Display Stream Compression PPS infoframe drm/dsc: Add helpers for DSC picture parameter set infoframes
Documentation/gpu/drm-kms-helpers.rst | 12 + drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_dsc.c | 227 ++++++++++++++ include/drm/drm_dp_helper.h | 1 + include/drm/drm_dsc.h | 564 ++++++++++++++++++++++++++++++++++ 5 files changed, 805 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/drm_dsc.c create mode 100644 include/drm/drm_dsc.h