]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dsc: Split DSC PPS and SDP header initialisations
authorDavid Francis <David.Francis@amd.com>
Thu, 21 Feb 2019 20:20:01 +0000 (15:20 -0500)
committerHarry Wentland <harry.wentland@amd.com>
Tue, 5 Mar 2019 18:24:34 +0000 (13:24 -0500)
commit36e6d7e89951f8a54a566a7a5745cb8361b0c136
tree61ba575c6877525968816dfe0cd3951b144a82f2
parent9613c04af628c8d5176ab432571a6403b44cb93f
drm/dsc: Split DSC PPS and SDP header initialisations

The DP 1.4 spec defines the SDP header and SDP contents for
a Picture Parameter Set (PPS) that must be sent in advance
of DSC transmission to define the encoding characteristics.

This was done in one struct, drm_dsc_pps_infoframe, which
conatined the SDP header and PPS.  Because the PPS is
a property of DSC over any connector, not just DP, and because
drm drivers may have their own SDP structs they wish to use,
make the functions that initialise SDP and PPS headers take
the components they operate on, not drm_dsc_pps_infoframe,

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190221202001.28430-4-David.Francis@amd.com
drivers/gpu/drm/drm_dsc.c
drivers/gpu/drm/i915/intel_vdsc.c
include/drm/drm_dsc.h