]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: Set one 4:2:0-related PPS field as recommended by DSC spec
authorNikola Cornij <nikola.cornij@amd.com>
Wed, 5 Jun 2019 18:29:47 +0000 (14:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:18 +0000 (14:17 -0500)
commit61011e63f87fe5dd0ebff787cd78df4d7d66aec5
treef8f8e8c6a9a2056f50dc54b3b059cecf86ec7bf4
parent90bbf6374b88bdc1411fd83b24d87513ba23d519
drm/amd/display: Set one 4:2:0-related PPS field as recommended by DSC spec

[why]
'second_line_offset_adj' was mistakenly left at zero, even though DSC spec
v1.2a recommends setting this field to 512 for 4:2:0.

[how]
Set 'second_line_offset_adj' to 512 for 4:2:0 and leave at zero otherwise

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dsc/drm_dsc_dc.c