aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorYongqiang Sun <yongqiang.sun@amd.com>2018-06-08 13:07:53 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-07-05 16:38:43 -0500
commitb6c3053a8f431a032a1473dc0e0069ca7fd0b0e5 (patch)
tree234090ee0349de7125aacddf01d1e63c271367b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentbf28c2e205b1c37e412cb6785a34f10de944bae1 (diff)
drm/amd/display: Check scaling ration not viewports params.
In case of roation, width and height in viewport is difference between viewport and h_active and v_active, while this is not scaling. The right way is check ratios in scaling data, to determine it is a scaling case or not. Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@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/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions