summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>2018-11-16 19:46:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-11-26 23:46:18 +0300
commitb333730d126efcc8f2fad60df3c9b3971ff59833 (patch)
treeddb94ebf610318c937017cbbaa8cf7575a690e76 /tools/perf/scripts/python
parent91b66c47ba3468f7882ea4a84d5e0e0c186b638f (diff)
downloadlinux-b333730d126efcc8f2fad60df3c9b3971ff59833.tar.xz
drm/amd/display: Fix Scaling (RMX_*) for DC driver
Before: We use drm_match_cea_mode() to get the vic for any mode we want to set, most of the time vic will be different for the new mode. DC uses memcmp to check if timing changed, in this case DC will say timing changed and we endup doing a full modeset. Current: Now we check if !RMX_OFF and old_refresh == new_refresh if so we copy the vic from old timing. In a case where we are currently on a lower timing and want to change to higher mode, stream->dst will be different and cause us to do a full modeset, which is what we want. Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions