Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: mpcc black color should not be impacted by pixel encoding format

[Why]
The format in MPCC should be 444

[How]
do not modify the mpcc black color according to pixel encoding format

Signed-off-by: Xiaodong Yan <Xiaodong.Yan@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Xiaodong Yan and committed by
Alex Deucher
c0c96fc9 ffe0fcbb

-8
-8
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
··· 2368 2368 &blnd_cfg.black_color); 2369 2369 } 2370 2370 2371 - /* 2372 - * The way 420 is packed, 2 channels carry Y component, 1 channel 2373 - * alternate between Cb and Cr, so both channels need the pixel 2374 - * value for Y 2375 - */ 2376 - if (pipe_ctx->stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420) 2377 - blnd_cfg.black_color.color_r_cr = blnd_cfg.black_color.color_g_y; 2378 - 2379 2371 if (per_pixel_alpha) 2380 2372 blnd_cfg.alpha_mode = MPCC_ALPHA_BLEND_MODE_PER_PIXEL_ALPHA; 2381 2373 else