File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 286
286
287
287
#define DP_DSC_MAX_BITS_PER_PIXEL_HI 0x068 /* eDP 1.4 */
288
288
# define DP_DSC_MAX_BITS_PER_PIXEL_HI_MASK (0x3 << 0)
289
- # define DP_DSC_MAX_BITS_PER_PIXEL_HI_SHIFT 8
290
289
# define DP_DSC_MAX_BPP_DELTA_VERSION_MASK 0x06
291
290
# define DP_DSC_MAX_BPP_DELTA_AVAILABILITY 0x08
292
291
Original file line number Diff line number Diff line change @@ -181,9 +181,8 @@ static inline u16
181
181
drm_edp_dsc_sink_output_bpp (const u8 dsc_dpcd [DP_DSC_RECEIVER_CAP_SIZE ])
182
182
{
183
183
return dsc_dpcd [DP_DSC_MAX_BITS_PER_PIXEL_LOW - DP_DSC_SUPPORT ] |
184
- (dsc_dpcd [DP_DSC_MAX_BITS_PER_PIXEL_HI - DP_DSC_SUPPORT ] &
185
- DP_DSC_MAX_BITS_PER_PIXEL_HI_MASK <<
186
- DP_DSC_MAX_BITS_PER_PIXEL_HI_SHIFT );
184
+ ((dsc_dpcd [DP_DSC_MAX_BITS_PER_PIXEL_HI - DP_DSC_SUPPORT ] &
185
+ DP_DSC_MAX_BITS_PER_PIXEL_HI_MASK ) << 8 );
187
186
}
188
187
189
188
static inline u32
You can’t perform that action at this time.
0 commit comments