DRM helpers for Display Stream Compression PPS infoframes
Subsystems (2)
cover DRM helpers for Display Stream Compression PPS infoframes
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
These files can be used to add more DSC spec related helpers common to all drivers.
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
drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_dsc.c | 222 ++++++++++++++++++ include/drm/drm_dp_helper.h | 1 + include/drm/drm_dsc.h | 539 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 763 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/drm_dsc.c create mode 100644 include/drm/drm_dsc.h
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/4 drm/dp: Define payload size for DP SDP PPS packet
DP 1.4 spec defines DP secondary data packet for DSC picture parameter set. This patch defines its payload size according to the DP 1.4 specification.
--- include/drm/drm_dp_helper.h | 1 + 1 file changed, 1 insertion(+)
include/drm/drm_dp_helper.h +1 -0
@@ -992,6 +992,7 @@ struct dp_sdp_header {#define EDP_SDP_HEADER_REVISION_MASK 0x1F#define EDP_SDP_HEADER_VALID_PAYLOAD_BYTES 0x1F +#define DP_SDP_PPS_HEADER_PAYLOAD_BYTES_MINUS_1 0x7Fstruct edp_vsc_psr {struct dp_sdp_header sdp_header;
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/4 drm/dsc: Define Display Stream Compression PPS infoframe
In reply to Manasi NavareThis patch defines a new header file for all the DSC 1.2 structures and creates a structure for PPS infoframe which will be used to send picture parameter set secondary data packet for display stream compression. All the PPS infoframe syntax elements are taken from DSC 1.2 specification from VESA.
--- include/drm/drm_dsc.h | 412 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 412 insertions(+) create mode 100644 include/drm/drm_dsc.h
include/drm/drm_dsc.h new file +412 -0
@@ -0,0 +1,412 @@ +/* +* Copyright (C) 2018 Intel Corp. +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR +* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +* OTHER DEALINGS IN THE SOFTWARE. +* +* Authors: +* Manasi Navare <[email protected]> +*/ + +#ifndef DRM_DSC_H_ +#define DRM_DSC_H_ + +#include <drm/drm_dp_helper.h> + +#define DSC_NUM_BUF_RANGES 15 + +/** +* struct picture_parameter_set - Represents 128 bytes of Picture Parameter Set +* +* The VESA DSC standard defines picture parameter set (PPS) which display stream +* compression encoders must communicate to decoders. The PPS is encapsulated +* in 128 bytes (PPS 0 through PPS 127). The fields in this structure are as per +* Table 4.1 in Vesa DSC specification v1.1/v1.2. +* The PPS fileds that span over more than a byte should be stored in Big Endian +* format. +*/ +struct picture_parameter_set { +/** +* @dsc_version_minor: +* +* PPS0[3:0] - Contains Minor version of DSC +* +* @dsc_version_major: +* +* PPS0[7:4] - Contains major version of DSC +*/ +u8 dsc_version_minor:4 ; +u8 dsc_version_major:4 ; +/** +* @pps_identifier: +* +* PPS1[7:0] - Application specific identifier that can be +* used to differentiate between different PPS tables. +*/ +u8 pps_identifier; +/** +* +* @pps2_reserved: +* +* PPS2[7:0] RESERVED Byte +*/ +u8 pps2_reserved; +/** +* +* @linebuf_depth: +* +* PPS3[3:0] - Contains linebuffer bit depth used to generate +* the bitstream. (0x0 - 16 bits for DSc 1.2, 0x8 - 8 bits, +* 0xA - 10 bits, 0xB - 11 bits, 0xC - 12 bits, 0xD - 13 bits, +* 0xE - 14 bits for DSC1.2, 0xF - 14 bits for DSC 1.2. +* +* @bits_per_component: +* +* PPS3[7:4] - Bits per component fo rthe original pixels +* of the encoded picture. +*/ +u8 linebuf_depth:4 ; +u8 bits_per_component:4 ; +/** +* @bpp_high: +* +* PPS4[1:0] - These are the most significant 2 bits of +* compressed BPP bits_per_pixel[9:0] syntax element. +* +* @vbr_enable: +* PPS4[2] - 0 = VBR disabled, 1 = VBR enabled +* +* @simple_422: +* PPS4[3] - Indicates if decoder drops samples to +* reconstruct the 4:2:2 picture. +* +* @convert_rgb: +* PPS4[4] - Indicates if DSC color space conversion is active +* +* @block_pred_enable: +* PPS4[5] - Indicates if BP is used to code any groups in picture +* +* @pps4_reserved: +* PPS4[7:6] - Reseved bits +*/ +u8 bpp_high:2 ; +u8 vbr_enable:1 ; +u8 simple_422:1 ; +u8 convert_rgb:1 ; +u8 block_pred_enable:1 ; +u8 pps4_reserved:2 ; +/** +* @bpp_low; +* +* PPS5[7:0] - This indicates the lower significant 8 bits of +* the compressed BPP bits_per_pixel[9:0] element. +*/ +u8 bpp_low; +/** +* @pic_height: +* +* PPS6[7:0], PPS7[7:0] - Specifies the number of pixel rows within +* the raster. +*/ +u16 pic_height; +/** +* @pic_width: +* PPS8[7:0], PPS9[7:0] - Number of pixel columns within the raster. +*/ +u16 pic_width; +/** +* @slice_height: +* PPS10[7:0], PPS11[7:0] - Slice height in units of pixels. +*/ +u16 slice_height; +/** +* @slice_width: +* PPS12[7:0], PPS13[7:0] - Slice width in terms of pixels. +*/ +u16 slice_width; +/** +* @chunk_size: +* PPS14[7:0], PPS15[7:0] - Sixze in units of bytes of the chunks +* that are used for slice multiplexing. +*/ +u16 chunk_size; +/** +* @initial_xmit_delay_high: +* PPS16[1:0] - Most Significant two bits of initial transmission delay. +* It specifies the number of pixel times that the encoder waits before +* transmitting data from its rate buffer. +* +* @pps16_reserved: +* PPS16[7:2] - Reserved +* +* @initial_xmit_delay_low: +* PPS17[7:0] - Least significant 8 bits of initial transmission delay. +*/ +u8 initial_xmit_delay_high:2 ; +u8 pps16_reserved:6 ; +u8 initial_xmit_delay_low; +/** +* @initial_dec_delay: +* +* PPS18[7:0], PPS19[7:0] - Initial decoding delay which is the number +* of pixel times that the decoder accumulates data in its rate buffer +* before starting to decode and output pixels. +*/ +u16 initial_dec_delay; +/** +* @pps20_reserved: +* +* PPS20[7:0] - Reserved +*/ +u8 pps20_reserved; +/** +* @initial_scale_value: +* +* PPS21[5:0] - Initial rcXformScale factor used at beginning +* of a slice. +* +* @pps21_reserved: +* PPS21[7:6] - Reserved +*/ +u8 initial_scale_value:6 ; +u8 pps21_reserved:2 ; +/** +* @scale_increment_interval: +* PPS22[7:0], PPS23[7:0] - Number of group times between incrementing +* the rcXformScale factor at end of a slice. +*/ +u16 scale_increment_interval; +/** +* @scale_decrement_interval_high: +* PPS24[3:0] - Higher 4 bits indicating number of group times between +* decremneting the rcXformScale factor at beginning of a slice. +* +* @pps24_reserved: +* PPS24[7:4] - Reserved +*/ +u8 scale_decrement_interval_high:4 ; +u8 pps24_reserved:4 ; +/** +* @scale_decrement_interval_low: +* PPS25[7:0] - Lower 8 bits of scale decrement interval +*/ +u8 scale_decrement_interval_low; +/** +* @pps26_reserved: +* PPS26[7:0] +*/ +u8 pps26_reserved; +/** +* @first_line_bpg_offset: +* PPS27[4:0] - Number of additional bits that are allocated +* for each group on first line of a slice. +* +* @pps27_reserved: +* PPS27[7:5] +*/ +u8 first_line_bpg_offset:5 ; +u8 pps27_reserved:3 ; +/** +* @nfl_bpg_offset: +* PPS28[7:0], PPS29[7:0] - Number of bits including frac bits +* deallocated for each group for groups after the first line of slice. +*/ +u16 nfl_bpg_offset; +/** +* @slice_bpg_offset: +* PPS30, PPS31[7:0] - Number of bits that are deallocated for each group +* to enforce the slice constraint. +*/ +u16 slice_bpg_offset; +/** +* @initial_offset: +* PPS32,33[7:0] - Initial value for rcXformOffset +*/ +u16 initial_offset; +/** +* @final_offset: +* PPS34,35[7:0] - Maximum end-of-slice value for rcXformOffset +*/ +u16 final_offset; +/** +* @flatness_min_qp: +* PPS36[4:0] - Minimum QP at which flatness is signaled and +* flatness QP adjustment is made. +* +* @pps36_reserved: +* PPS36[7:5] - Reserved +*/ +u8 flatness_min_qp:5 ; +u8 pp36_reserved:3 ; +/** +* @flatness_max_qp: +* PPS37[4:0] - Max QP at which flatness is signalled and +* the flatness adjustment is made. +* +* @pps37_reserved: +* PPS37[7:5] +*/ +u8 flatness_max_qp:5 ; +u8 pps37_reserved:3 ; +/** +* @rc_model_size: +* PPS38,39[7:0] - Number of bits within RC Model. +*/ +u16 rc_model_size; +/** +* @rc_edge_factor: +* PPS40[3:0] - Ratio of current activity vs, previous +* activity to determine presence of edge. +* +* @pps40_reserved: +* PPS40[7:4] +*/ +u8 rc_edge_factor:4 ; +u8 pps40_reserved:4 ; +/** +* @rc_quant_incr_limit0: +* PPS41[4:0] - QP threshold used in short term RC +* +* @pps41_reserved: +* PPS41[7:5] +*/ +u8 rc_quant_incr_limit0:5 ; +u8 pps41_reserved:3 ; +/** +* @rc_quant_incr_limit1: +* PPS42[4:0] - QP threshold used in short term RC +* +* @pps42_reserved: +* PPS42[7:5] +*/ +u8 rc_quant_incr_limit1:5 ; +u8 pps42_reserved:3 ; +/** +* @rc_tgt_offset_lo: +* Lower end of the variability range around the target +* bits per group that is allowed by short term RC. +* +* @rc_tgt_offset_hi: +* Upper end of the variability range around the target +* bits per group that i allowed by short term rc. +*/ +u8 rc_tgt_offset_lo:4 ; +u8 rc_tgt_offset_hi:4 ; +/** +* @rc_buf_thresh: +* PPS44[7:0] - PPS57[7:0] - Specifies the thresholds in RC model for +* the 15 ranges defined by 14 thresholds. +*/ +u8 rc_buf_thresh[DSC_NUM_BUF_RANGES -1 ]; +/** +* @rc_range_parameters: +* PPS58[7:0] - PPS87[7:0] +* Parameters that correspond to each of the 15 ranges. +*/ +u16 rc_range_parameters[DSC_NUM_BUF_RANGES ]; +/** +* @native_422: +* PPS88[0] - 0 = Native 4:2:2 not used +* 1 = Native 4:2:2 used +* +* @native_420: +* PPS88[1] - 0 = Native 4:2:0 not used +* 1 = Native 4:2:0 not used. +* +* @pps88_reserved: +* PPS[7:2] - Reserved 6 bits +*/ +u8 native_422:1 ; +u8 native_420:1 ; +u8 pps88_reserved:6 ; +/** +* @second_line_bpg_offset: +* PPS89[4:0] - Additional bits/group budget for the +* second line of a slice in Native 4:2:0 mode. +* Set to 0 if DSC minor version is 1 or native420 is 0. +* +* @pps89_reserved: +* PPS89[7:5] - Reserved +*/ +u8 second_line_bpg_offset:5 ; +u8 pps89_reserved:3 ; +/** +* @nsl_bpg_offset: +* PPS90[7:0], PPS91[7:0] - Number of bits that are deallocated +* for each group that is not in the second line of a slice. +*/ +u16 nsl_bpg_offset; +/** +* @second_line_offset_adj: +* PPS92[7:0], PPS93[7:0] - Used as offset adjustment for the second +* line in Native 4:2:0 mode. +*/ +u16 second_line_offset_adj; +/** +* @pps_long_94_reserved: +* PPS 94, 95, 96, 97 - Reserved +* +* @pps_long_98_reserved: +* PPS 98, 99, 100, 101 - Reserved +* +* @pps_long_102_reserved: +* PPS 102, 103, 104, 105 - Reserved +* +* @pps_long_106_reserved: +* PPS 106, 107, 108, 109 - reserved +* +* @pps_long_110_reserved: +* PPS 110, 111, 112, 113 - reserved +* +* @pps_long_114_reserved: +* PPS 114 - 117 - reserved +* +* @pps_long_118_reserved: +* PPS 118 - 121 - reserved +* +* @pps_long_122_reserved: +* PPS 122- 125 - reserved +* +* @pps_short_126_reserved: +* PPS 126, 127 - reserved +*/ +u32 pps_long_94_reserved; +u32 pps_long_98_reserved; +u32 pps_long_102_reserved; +u32 pps_long_106_reserved; +u32 pps_long_110_reserved; +u32 pps_long_114_reserved; +u32 pps_long_118_reserved; +u32 pps_long_122_reserved; +u16 pps_short_126_reserved; +}; + +/** +* struct drm_dsc_pps_infoframe - DSC infoframe carrying the Picture Parameter Set Metadata +* +* This structure represents the DSC PPS infoframe required to send the Picture Parameter Set +* metadata required before enabling VESA Display Stream Compression. This is based on the +* DP Secondary Data Packet structure and comprises of SDP Header as defined in drm_dp_helper.h +* and PPS payload. +*/ +struct drm_dsc_pps_infoframe { +struct dp_sdp_header pps_header; +struct picture_parameter_set pps_payload; +} __packed; + +#endif /* _DRM_DSC_H_ */
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 3/4 drm/dsc: Define VESA Display Stream Compression Capabilities
In reply to Manasi NavareFrom: Gaurav K Singh <[email protected]>
This defines all the DSC parameters as per the VESA DSC spec that will be required for DSC encoder/decoder
v2: Define this struct in DRM (From Manasi)
* Changed the data types to u8/u16 instead of unsigned longs (Manasi)
* Remove driver specific fields (Manasi)
* Move this struct definition to DRM (Manasi)
* Define DSC 1.2 parameters (Manasi)
* Use DSC_NUM_BUF_RANGES (Manasi)
* Call it drm_dsc_config (Manasi)
--- include/drm/drm_dsc.h | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+)
include/drm/drm_dsc.h +111 -0
@@ -30,6 +30,117 @@#define DSC_NUM_BUF_RANGES 15 +/* VESA Display Stream Compression DSC 1.2 constants */ +#define DSC_NUM_BUF_RANGES 15 + +/* Configuration for a single Rate Control model range */ +struct dsc_rc_range_parameters { +/* Min Quantization Parameters allowed for this range */ +u8 range_min_qp; +/* Max Quantization Parameters allowed for this range */ +u8 range_max_qp; +/* Bits/group offset to apply to target for this group */ +u8 range_bpg_offset; +}; + +struct drm_dsc_config { +/* Bits / component for previous reconstructed line buffer */ +u8 line_buf_depth; +/* Bits per component to code (must be 8, 10, or 12) */ +u8 bits_per_component; +/* +* Flag indicating to do RGB - YCoCg conversion +* and back (should be 1 for RGB input) +*/ +bool convert_rgb; +u8 slice_count; +/* Slice Width */ +u16 slice_width; +/* Slice Height */ +u16 slice_height; +/* +* 4:2:2 enable mode (from PPS, 4:2:2 conversion happens +* outside of DSC encode/decode algorithm) +*/ +bool enable422; +/* Picture Width */ +u16 pic_width; +/* Picture Height */ +u16 pic_height; +/* Offset to bits/group used by RC to determine QP adjustment */ +u8 rc_tgt_offset_high; +/* Offset to bits/group used by RC to determine QP adjustment */ +u8 rc_tgt_offset_low; +/* Bits/pixel target << 4 (ie., 4 fractional bits) */ +u16 bits_per_pixel; +/* +* Factor to determine if an edge is present based +* on the bits produced +*/ +u8 rc_edge_factor; +/* Slow down incrementing once the range reaches this value */ +u8 rc_quant_incr_limit1; +/* Slow down incrementing once the range reaches this value */ +u8 rc_quant_incr_limit0; +/* Number of pixels to delay the initial transmission */ +u16 initial_xmit_delay; +/* Number of pixels to delay the VLD on the decoder,not including SSM */ +u16 initial_dec_delay; +/* Block prediction enable */ +bool block_pred_enable; +/* Bits/group offset to use for first line of the slice */ +u8 first_line_bpg_offset; +/* Value to use for RC model offset at slice start */ +u16 initial_offset; +/* Thresholds defining each of the buffer ranges */ +u16 rc_buf_thresh[DSC_NUM_BUF_RANGES -1 ]; +/* Parameters for each of the RC ranges */ +struct dsc_rc_range_parameters rc_range_params[DSC_NUM_BUF_RANGES ]; +/* Total size of RC model */ +u16 rc_model_size; +/* Minimum QP where flatness information is sent */ +u8 flatness_min_qp; +/* Maximum QP where flatness information is sent */ +u8 flatness_max_qp; +/* Initial value for scale factor */ +u8 initial_scale_value; +/* Decrement scale factor every scale_decrement_interval groups */ +u16 scale_decrement_interval; +/* Increment scale factor every scale_increment_interval groups */ +u16 scale_increment_interval; +/* Non-first line BPG offset to use */ +u16 nfl_bpg_offset; +/* BPG offset used to enforce slice bit */ +u16 slice_bpg_offset; +/* Final RC linear transformation offset value */ +u16 final_offset; +/* Enable on-off VBR (ie., disable stuffing bits) */ +bool vbr_enable; +/* Mux word size (in bits) for SSM mode */ +u8 mux_word_size; +/* +* The (max) size in bytes of the "chunks" that are +* used in slice multiplexing +*/ +u16 slice_chunk_size; +/* Rate Control buffer siz in bits */ +u16 rc_bits; +/* DSC Minor Version */ +u8 dsc_version_minor; +/* DSC Major version */ +u8 dsc_version_major; +/* Native 4:2:2 support */ +bool native_422; +/* Native 4:2:0 support */ +bool native_420; +/* Additional bits/grp for seconnd line of slice for native 4:2:0 */ +u8 second_line_bpg_offset; +/* Num of bits deallocated for each grp that is not in second line of slice */ +u16 nsl_bpg_offset; +/* Offset adj fr second line in Native 4:2:0 mode */ +u16 second_line_offset_adj; +}; +/** * struct picture_parameter_set - Represents 128 bytes of Picture Parameter Set *
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 4/4 drm/dsc: Add helpers for DSC picture parameter set infoframes
In reply to Manasi NavareAccording to Display Stream compression spec 1.2, the picture parameter set metadata is sent from source to sink device using the DP Secondary data packet. An infoframe is formed for the PPS SDP header and PPS SDP payload bytes. This patch adds helpers to fill the PPS SDP header and PPS SDP payload according to the DSC 1.2 specification.
--- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_dsc.c | 222 ++++++++++++++++++++++++++++++++++++++++++++++ include/drm/drm_dsc.h | 16 ++++ 3 files changed, 239 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/drm_dsc.c
drivers/gpu/drm/Makefile +1 -1
@@ -31,7 +31,7 @@ drm-$(CONFIG_AGP) += drm_agpsupport.o drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o -drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \ +drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_dsc.o drm_probe_helper.o \ drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \ drm_kms_helper_common.o drm_dp_dual_mode_helper.o \ drm_simple_kms_helper.o drm_modeset_helper.o \
drivers/gpu/drm/drm_dsc.c new file +222 -0
222 lines not on this page · raw message
include/drm/drm_dsc.h +16 -0
@@ -26,6 +26,7 @@#ifndef DRM_DSC_H_ #define DRM_DSC_H_ +#include <linux/byteorder/generic.h> #include <drm/drm_dp_helper.h> #define DSC_NUM_BUF_RANGES 15
@@ -33,6 +34,16 @@/* VESA Display Stream Compression DSC 1.2 constants */ #define DSC_NUM_BUF_RANGES 15 +/* DSC PPS constants and macros */ +#define DSC_PPS_MSB_SHIFT 8 +#define DSC_PPS_LSB_MASK (0xFF << 0) +#define DSC_PPS_BPP_HIGH_MASK (0x3 << 8) +#define DSC_PPS_INIT_XMIT_DELAY_HIGH_MASK (0x3 << 8) +#define DSC_PPS_SCALE_DEC_INT_HIGH_MASK (0xF << 8) +#define DSC_PPS_RC_RANGE_MINQP_SHIFT 11 +#define DSC_PPS_RC_RANGE_MAXQP_SHIFT 6 +#define DSC_PPS_SWAP_BYTES (val, swap) ((swap) ? val : cpu_to_be16(val)) +/* Configuration for a single Rate Control model range */ struct dsc_rc_range_parameters {/* Min Quantization Parameters allowed for this range */
@@ -520,4 +531,9 @@ struct drm_dsc_pps_infoframe { struct picture_parameter_set pps_payload; } __packed; +void drm_dsc_dp_pps_header_init (struct drm_dsc_pps_infoframe *pps_sdp); +void drm_dsc_pps_infoframe_pack (struct drm_dsc_pps_infoframe *pps_sdp, +struct drm_dsc_config *dsc_cfg, +bool big_endian); +#endif /* _DRM_DSC_H_ */
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 4/4 drm/dsc: Add helpers for DSC picture parameter set infoframes
According to Display Stream compression spec 1.2, the picture parameter set metadata is sent from source to sink device using the DP Secondary data packet. An infoframe is formed for the PPS SDP header and PPS SDP payload bytes. This patch adds helpers to fill the PPS SDP header and PPS SDP payload according to the DSC 1.2 specification.
v2:
* Add EXPORT_SYMBOL for the drm functions (Manasi)
--- drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/drm_dsc.c | 224 ++++++++++++++++++++++++++++++++++++++++++++++ include/drm/drm_dsc.h | 16 ++++ 3 files changed, 241 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/drm_dsc.c
drivers/gpu/drm/Makefile +1 -1
@@ -31,7 +31,7 @@ drm-$(CONFIG_AGP) += drm_agpsupport.o drm-$(CONFIG_DEBUG_FS) += drm_debugfs.o drm_debugfs_crc.o drm-$(CONFIG_DRM_LOAD_EDID_FIRMWARE) += drm_edid_load.o -drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_probe_helper.o \ +drm_kms_helper-y := drm_crtc_helper.o drm_dp_helper.o drm_dsc.o drm_probe_helper.o \ drm_plane_helper.o drm_dp_mst_topology.o drm_atomic_helper.o \ drm_kms_helper_common.o drm_dp_dual_mode_helper.o \ drm_simple_kms_helper.o drm_modeset_helper.o \
drivers/gpu/drm/drm_dsc.c new file +224 -0
224 lines not on this page · raw message
include/drm/drm_dsc.h +16 -0
@@ -26,6 +26,7 @@#ifndef DRM_DSC_H_ #define DRM_DSC_H_ +#include <linux/byteorder/generic.h> #include <drm/drm_dp_helper.h> #define DSC_NUM_BUF_RANGES 15
@@ -33,6 +34,16 @@/* VESA Display Stream Compression DSC 1.2 constants */ #define DSC_NUM_BUF_RANGES 15 +/* DSC PPS constants and macros */ +#define DSC_PPS_MSB_SHIFT 8 +#define DSC_PPS_LSB_MASK (0xFF << 0) +#define DSC_PPS_BPP_HIGH_MASK (0x3 << 8) +#define DSC_PPS_INIT_XMIT_DELAY_HIGH_MASK (0x3 << 8) +#define DSC_PPS_SCALE_DEC_INT_HIGH_MASK (0xF << 8) +#define DSC_PPS_RC_RANGE_MINQP_SHIFT 11 +#define DSC_PPS_RC_RANGE_MAXQP_SHIFT 6 +#define DSC_PPS_SWAP_BYTES (val, swap) ((swap) ? val : cpu_to_be16(val)) +/* Configuration for a single Rate Control model range */ struct dsc_rc_range_parameters {/* Min Quantization Parameters allowed for this range */
@@ -520,4 +531,9 @@ struct drm_dsc_pps_infoframe { struct picture_parameter_set pps_payload; } __packed; +void drm_dsc_dp_pps_header_init (struct drm_dsc_pps_infoframe *pps_sdp); +void drm_dsc_pps_infoframe_pack (struct drm_dsc_pps_infoframe *pps_sdp, +struct drm_dsc_config *dsc_cfg, +bool big_endian); +#endif /* _DRM_DSC_H_ */
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for DRM helpers for Display Stream Compression PPS infoframes
In reply to Manasi Navare== Series Details ==
== Series Details ==
Series: DRM helpers for Display Stream Compression PPS infoframes
URL : https://patchwork.freedesktop.org/series/42968/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 3e29c3165299 drm/dp: Define payload size for DP SDP PPS packet 6fa61cb1f2d1 drm/dsc: Define Display Stream Compression PPS infoframe -:19: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #19: new file mode 100644
-:24: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #24: FILE: include/drm/drm_dsc.h:1:
+/*
-:423: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #423: FILE: include/drm/drm_dsc.h:400:
+/**
+* struct drm_dsc_pps_infoframe - DSC infoframe carrying the Picture Parameter Set Metadata
total: 0 errors, 3 warnings, 0 checks, 412 lines checked01107b0a8bd8 drm/dsc: Define VESA Display Stream Compression Capabilities dab243c6818e drm/dsc: Add helpers for DSC picture parameter set infoframes
-:33: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #33:
new file mode 100644
-:38: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #38: FILE: drivers/gpu/drm/drm_dsc.c:1:
+/*
-:173: WARNING:LONG_LINE: line over 100 characters #173: FILE: drivers/gpu/drm/drm_dsc.c:136:
+ pps_sdp->pps_payload.scale_increment_interval = DSC_PPS_SWAP_BYTES(dsc_cfg->scale_increment_interval,
-:177: WARNING:LONG_LINE: line over 100 characters #177: FILE: drivers/gpu/drm/drm_dsc.c:140:
+ pps_sdp->pps_payload.scale_decrement_interval_high = (u8)((dsc_cfg->scale_decrement_interval &
-:178: WARNING:LONG_LINE: line over 100 characters #178: FILE: drivers/gpu/drm/drm_dsc.c:141:
+ DSC_PPS_SCALE_DEC_INT_HIGH_MASK) >>
-:236: WARNING:LONG_LINE: line over 100 characters #236: FILE: drivers/gpu/drm/drm_dsc.c:199:
+ (u16)((dsc_cfg->rc_range_params[i].range_min_qp << DSC_PPS_RC_RANGE_MINQP_SHIFT) |
-:237: WARNING:LONG_LINE: line over 100 characters #237: FILE: drivers/gpu/drm/drm_dsc.c:200:
+ (dsc_cfg->rc_range_params[i].range_max_qp << DSC_PPS_RC_RANGE_MAXQP_SHIFT) |
-:239: WARNING:LONG_LINE: line over 100 characters #239: FILE: drivers/gpu/drm/drm_dsc.c:202:
+ pps_sdp->pps_payload.rc_range_parameters[i] = DSC_PPS_SWAP_BYTES(pps_sdp->pps_payload.rc_range_parameters[i],
-:255: WARNING:LONG_LINE: line over 100 characters #255: FILE: drivers/gpu/drm/drm_dsc.c:218:
+ pps_sdp->pps_payload.second_line_offset_adj = DSC_PPS_SWAP_BYTES(dsc_cfg->second_line_offset_adj,
-:284: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'val' - possible side-effects? #284: FILE: include/drm/drm_dsc.h:45:
+#define DSC_PPS_SWAP_BYTES(val, swap) ((swap) ? val : cpu_to_be16(val))
total: 0 errors, 9 warnings, 1 checks, 262 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.SPARSE: warning for DRM helpers for Display Stream Compression PPS infoframes
In reply to Manasi Navare== Series Details ==
== Series Details ==
Series: DRM helpers for Display Stream Compression PPS infoframes
URL : https://patchwork.freedesktop.org/series/42968/
State : warning
== Summary ==
$ dim sparse origin/drm-tip Commit: drm/dp: Define payload size for DP SDP PPS packet Okay!
Commit: drm/dsc: Define Display Stream Compression PPS infoframe Okay!
Commit: drm/dsc: Define VESA Display Stream Compression Capabilities Okay!
Commit: drm/dsc: Add helpers for DSC picture parameter set infoframes -+drivers/gpu/drm/drm_dsc.c:100:43: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:104:42: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:108:45: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:112:44: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:116:43: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:127:50: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:136:57: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:150:47: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:154:49: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:158:47: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:162:45: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:172:46: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:202:63: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:214:47: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:218:55: warning: restricted __be16 degrades to integer
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for DRM helpers for Display Stream Compression PPS infoframes
In reply to Manasi Navare== Series Details ==
== Series Details ==
Series: DRM helpers for Display Stream Compression PPS infoframes
URL : https://patchwork.freedesktop.org/series/42968/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4163 -> Patchwork_8965 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/42968/revisions/1/mbox/
== Known issues ==
Here are the changes found in Patchwork_8965 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@kms_flip@basic-flip-vs-modeset:
fi-bxt-dsi: PASS -> INCOMPLETE (fdo#103927)
igt@kms_flip@basic-flip-vs-wf_vblank:
fi-cfl-s3: PASS -> FAIL (fdo#103928, fdo#100368)
==== Possible fixes ====
igt@drv_module_reload@basic-reload-inject:
fi-glk-j4005: DMESG-WARN (fdo#106248) -> PASS
igt@kms_flip@basic-flip-vs-wf_vblank:
fi-hsw-4770r: FAIL (fdo#100368) -> PASS fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fdo#103928 https://bugs.freedesktop.org/show_bug.cgi?id=103928
fdo#106248 https://bugs.freedesktop.org/show_bug.cgi?id=106248
== Participating hosts (41 -> 37) ==
Missing (4): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-skl-6700hq
== Build changes ==
* Linux: CI_DRM_4163 -> Patchwork_8965
CI_DRM_4163: 8e1dab6e913be7d014eb9bc355ec65b6b56dcd56 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4468: 548a894dc904c4628522dbbc77cb179a4c965ebc @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_8965: dab243c6818e2401d6a40ba2512b3adcb0a52dea @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4468: 1e60f1499e5b71b6d5a747189d7c28f57359a87f @ git://anongit.freedesktop.org/piglit
== Linux commits ==
dab243c6818e drm/dsc: Add helpers for DSC picture parameter set infoframes 01107b0a8bd8 drm/dsc: Define VESA Display Stream Compression Capabilities 6fa61cb1f2d1 drm/dsc: Define Display Stream Compression PPS infoframe 3e29c3165299 drm/dp: Define payload size for DP SDP PPS packet
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8965/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for DRM helpers for Display Stream Compression PPS infoframes (rev2)
In reply to Manasi Navare== Series Details ==
== Series Details ==
Series: DRM helpers for Display Stream Compression PPS infoframes (rev2)
URL : https://patchwork.freedesktop.org/series/42968/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip bf8fa6314dd0 drm/dp: Define payload size for DP SDP PPS packet feef4201c5b3 drm/dsc: Define Display Stream Compression PPS infoframe -:19: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #19: new file mode 100644
-:24: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #24: FILE: include/drm/drm_dsc.h:1:
+/*
-:423: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #423: FILE: include/drm/drm_dsc.h:400:
+/**
+* struct drm_dsc_pps_infoframe - DSC infoframe carrying the Picture Parameter Set Metadata
total: 0 errors, 3 warnings, 0 checks, 412 lines checked662aa7ec9b08 drm/dsc: Define VESA Display Stream Compression Capabilities 71dd1304b3aa drm/dsc: Add helpers for DSC picture parameter set infoframes
-:36: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #36:
new file mode 100644
-:41: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #41: FILE: drivers/gpu/drm/drm_dsc.c:1:
+/*
-:177: WARNING:LONG_LINE: line over 100 characters #177: FILE: drivers/gpu/drm/drm_dsc.c:137:
+ pps_sdp->pps_payload.scale_increment_interval = DSC_PPS_SWAP_BYTES(dsc_cfg->scale_increment_interval,
-:181: WARNING:LONG_LINE: line over 100 characters #181: FILE: drivers/gpu/drm/drm_dsc.c:141:
+ pps_sdp->pps_payload.scale_decrement_interval_high = (u8)((dsc_cfg->scale_decrement_interval &
-:182: WARNING:LONG_LINE: line over 100 characters #182: FILE: drivers/gpu/drm/drm_dsc.c:142:
+ DSC_PPS_SCALE_DEC_INT_HIGH_MASK) >>
-:240: WARNING:LONG_LINE: line over 100 characters #240: FILE: drivers/gpu/drm/drm_dsc.c:200:
+ (u16)((dsc_cfg->rc_range_params[i].range_min_qp << DSC_PPS_RC_RANGE_MINQP_SHIFT) |
-:241: WARNING:LONG_LINE: line over 100 characters #241: FILE: drivers/gpu/drm/drm_dsc.c:201:
+ (dsc_cfg->rc_range_params[i].range_max_qp << DSC_PPS_RC_RANGE_MAXQP_SHIFT) |
-:243: WARNING:LONG_LINE: line over 100 characters #243: FILE: drivers/gpu/drm/drm_dsc.c:203:
+ pps_sdp->pps_payload.rc_range_parameters[i] = DSC_PPS_SWAP_BYTES(pps_sdp->pps_payload.rc_range_parameters[i],
-:259: WARNING:LONG_LINE: line over 100 characters #259: FILE: drivers/gpu/drm/drm_dsc.c:219:
+ pps_sdp->pps_payload.second_line_offset_adj = DSC_PPS_SWAP_BYTES(dsc_cfg->second_line_offset_adj,
-:289: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'val' - possible side-effects? #289: FILE: include/drm/drm_dsc.h:45:
+#define DSC_PPS_SWAP_BYTES(val, swap) ((swap) ? val : cpu_to_be16(val))
total: 0 errors, 9 warnings, 1 checks, 264 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.SPARSE: warning for DRM helpers for Display Stream Compression PPS infoframes (rev2)
In reply to Manasi Navare== Series Details ==
== Series Details ==
Series: DRM helpers for Display Stream Compression PPS infoframes (rev2)
URL : https://patchwork.freedesktop.org/series/42968/
State : warning
== Summary ==
$ dim sparse origin/drm-tip Commit: drm/dp: Define payload size for DP SDP PPS packet Okay!
Commit: drm/dsc: Define Display Stream Compression PPS infoframe Okay!
Commit: drm/dsc: Define VESA Display Stream Compression Capabilities Okay!
Commit: drm/dsc: Add helpers for DSC picture parameter set infoframes -+drivers/gpu/drm/drm_dsc.c:101:43: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:105:42: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:109:45: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:113:44: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:117:43: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:128:50: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:137:57: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:151:47: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:155:49: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:159:47: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:163:45: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:173:46: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:203:63: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:215:47: warning: restricted __be16 degrades to integer +drivers/gpu/drm/drm_dsc.c:219:55: warning: restricted __be16 degrades to integer
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for DRM helpers for Display Stream Compression PPS infoframes (rev2)
In reply to Manasi Navare== Series Details ==
== Series Details ==
Series: DRM helpers for Display Stream Compression PPS infoframes (rev2)
URL : https://patchwork.freedesktop.org/series/42968/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4163 -> Patchwork_8967 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/42968/revisions/2/mbox/
== Known issues ==
Here are the changes found in Patchwork_8967 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@kms_frontbuffer_tracking@basic:
{fi-hsw-peppy}: PASS -> DMESG-FAIL (fdo#102614, fdo#106103)
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-cnl-psr: PASS -> DMESG-WARN (fdo#104951)
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
fi-bxt-dsi: PASS -> INCOMPLETE (fdo#103927)
fi-cnl-y3: PASS -> DMESG-FAIL (fdo#104724, fdo#103191)
==== Possible fixes ====
igt@drv_module_reload@basic-reload-inject:
fi-glk-j4005: DMESG-WARN (fdo#106248) -> PASS
igt@kms_flip@basic-flip-vs-wf_vblank:
fi-hsw-4770r: FAIL (fdo#100368) -> PASS {name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
fdo#104951 https://bugs.freedesktop.org/show_bug.cgi?id=104951
fdo#106103 https://bugs.freedesktop.org/show_bug.cgi?id=106103
fdo#106248 https://bugs.freedesktop.org/show_bug.cgi?id=106248
== Participating hosts (41 -> 37) ==
Missing (4): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-skl-6700hq
== Build changes ==
* Linux: CI_DRM_4163 -> Patchwork_8967
CI_DRM_4163: 8e1dab6e913be7d014eb9bc355ec65b6b56dcd56 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4468: 548a894dc904c4628522dbbc77cb179a4c965ebc @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_8967: 71dd1304b3aa35e4b536c2f17b2c365bc0667917 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4468: 1e60f1499e5b71b6d5a747189d7c28f57359a87f @ git://anongit.freedesktop.org/piglit
== Linux commits ==
71dd1304b3aa drm/dsc: Add helpers for DSC picture parameter set infoframes 662aa7ec9b08 drm/dsc: Define VESA Display Stream Compression Capabilities feef4201c5b3 drm/dsc: Define Display Stream Compression PPS infoframe bf8fa6314dd0 drm/dp: Define payload size for DP SDP PPS packet
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8967/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for DRM helpers for Display Stream Compression PPS infoframes
In reply to Manasi Navare== Series Details ==
== Series Details ==
Series: DRM helpers for Display Stream Compression PPS infoframes
URL : https://patchwork.freedesktop.org/series/42968/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4163_full -> Patchwork_8965_full =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_8965_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_8965_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/42968/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_8965_full:
=== IGT changes ===
==== Warnings ====
igt@gem_exec_schedule@deep-bsd2:
shard-kbl: SKIP -> PASS +3
igt@kms_force_connector_basic@force-connector-state:
shard-snb: PASS -> SKIP
igt@kms_properties@plane-properties-legacy:
shard-snb: SKIP -> PASS +4== Known issues ==
Here are the changes found in Patchwork_8965_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
shard-hsw: PASS -> FAIL (fdo#102887)
igt@perf_pmu@interrupts-sync:
shard-glk: PASS -> FAIL (fdo#104485)
==== Possible fixes ====
igt@kms_flip@absolute-wf_vblank-interruptible:
shard-glk: FAIL (fdo#106087) -> PASS
igt@kms_flip@flip-vs-expired-vblank-interruptible:
shard-apl: FAIL (fdo#102887, fdo#105363) -> PASS
igt@kms_flip@wf_vblank-ts-check-interruptible:
shard-glk: FAIL (fdo#100368) -> PASS
shard-apl: FAIL (fdo#100368) -> PASS
igt@kms_setmode@basic:
shard-kbl: FAIL (fdo#99912) -> PASS
igt@kms_sysfs_edid_timing:
shard-apl: WARN (fdo#100047) -> PASS fdo#100047 https://bugs.freedesktop.org/show_bug.cgi?id=100047
fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
fdo#104485 https://bugs.freedesktop.org/show_bug.cgi?id=104485
fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
fdo#106087 https://bugs.freedesktop.org/show_bug.cgi?id=106087
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
== Participating hosts (9 -> 9) ==
No changes in participating hosts
== Build changes ==
* Linux: CI_DRM_4163 -> Patchwork_8965
CI_DRM_4163: 8e1dab6e913be7d014eb9bc355ec65b6b56dcd56 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4468: 548a894dc904c4628522dbbc77cb179a4c965ebc @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_8965: dab243c6818e2401d6a40ba2512b3adcb0a52dea @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4468: 1e60f1499e5b71b6d5a747189d7c28f57359a87f @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8965/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for DRM helpers for Display Stream Compression PPS infoframes (rev2)
In reply to Manasi Navare== Series Details ==
== Series Details ==
Series: DRM helpers for Display Stream Compression PPS infoframes (rev2)
URL : https://patchwork.freedesktop.org/series/42968/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4163_full -> Patchwork_8967_full =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_8967_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_8967_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/42968/revisions/2/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_8967_full:
=== IGT changes ===
==== Warnings ====
igt@gem_exec_schedule@deep-bsd2:
shard-kbl: SKIP -> PASS +2
igt@kms_force_connector_basic@force-connector-state:
shard-snb: PASS -> SKIP
igt@kms_properties@plane-properties-legacy:
shard-snb: SKIP -> PASS +4
igt@pm_rc6_residency@rc6-accuracy:
shard-kbl: PASS -> SKIP== Known issues ==
Here are the changes found in Patchwork_8967_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@kms_flip@modeset-vs-vblank-race-interruptible:
shard-glk: PASS -> FAIL (fdo#103060)
igt@kms_flip@plain-flip-fb-recreate-interruptible:
shard-hsw: PASS -> FAIL (fdo#100368)
igt@kms_flip@plain-flip-ts-check-interruptible:
shard-hsw: PASS -> FAIL (fdo#103928)
==== Possible fixes ====
igt@kms_flip@absolute-wf_vblank-interruptible:
shard-glk: FAIL (fdo#106087) -> PASS
igt@kms_flip@flip-vs-expired-vblank-interruptible:
shard-apl: FAIL (fdo#105363, fdo#102887) -> PASS
igt@kms_flip@wf_vblank-ts-check-interruptible:
shard-apl: FAIL (fdo#100368) -> PASS
igt@kms_setmode@basic:
shard-kbl: FAIL (fdo#99912) -> PASS fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#103928 https://bugs.freedesktop.org/show_bug.cgi?id=103928
fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
fdo#106087 https://bugs.freedesktop.org/show_bug.cgi?id=106087
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
== Participating hosts (9 -> 9) ==
No changes in participating hosts
== Build changes ==
* Linux: CI_DRM_4163 -> Patchwork_8967
CI_DRM_4163: 8e1dab6e913be7d014eb9bc355ec65b6b56dcd56 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4468: 548a894dc904c4628522dbbc77cb179a4c965ebc @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_8967: 71dd1304b3aa35e4b536c2f17b2c365bc0667917 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4468: 1e60f1499e5b71b6d5a747189d7c28f57359a87f @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8967/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx