summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
diff options
context:
space:
mode:
authorEric Yang2017-12-07 16:42:33 +0100
committerAlex Deucher2017-12-20 20:47:36 +0100
commitf8668c099e71bdd2c4e8bfd3d79178e243a99835 (patch)
treea7843755386e4384545082e2f4b824a3e17e1356 /drivers/gpu/drm/amd/display/dc/core/dc_resource.c
parentdrm/amd/display: Remove dwbc from pipe_ctx (diff)
downloadkernel-qcow2-linux-f8668c099e71bdd2c4e8bfd3d79178e243a99835.tar.gz
kernel-qcow2-linux-f8668c099e71bdd2c4e8bfd3d79178e243a99835.tar.xz
kernel-qcow2-linux-f8668c099e71bdd2c4e8bfd3d79178e243a99835.zip
drm/amd/display: reprogram surface config on scaling change
When plane size changes, we need to reprogram surface pitch in addition to viewport and scaler. This change is a conservative way to make this happen. However it could be more optimized to move pitch programming into mem_program_viewport. Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Andrew Jiang <Andrew.Jiang@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/core/dc_resource.c')
0 files changed, 0 insertions, 0 deletions