]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Include scaling factor for SubVP command
authorAlvin Lee <Alvin.Lee2@amd.com>
Thu, 4 Aug 2022 18:42:47 +0000 (14:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:14:20 +0000 (18:14 -0400)
commit1fc5f2527b65cc9d8bf04e92ac41209d5ff3260c
tree965b7468616495eab96041d2e0494a16dd0b5c4d
parent8d8fa43ce09d507a1613f589c2511e7c5c749f55
drm/amd/display: Include scaling factor for SubVP command

[Description]
For SubVP scaling cases, we must include the scaling
info as part of the cmd. This is required when converting
OTG line to HUBP line for the MALL_START_LINE programming.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/basics/conversion.c
drivers/gpu/drm/amd/display/dc/basics/conversion.h
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c