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)
commitfbe43dcd1aad7dbcee1cffdbe6c3e1d62c85f76a
tree965b7468616495eab96041d2e0494a16dd0b5c4d
parent385bf5a856c196d5997ce4111a23df7e1b679c17
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