summaryrefslogtreecommitdiff
path: root/drivers/spmi/spmi.c
diff options
context:
space:
mode:
authorSu Sung Chung <Su.Chung@amd.com>2019-05-10 15:16:45 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-05-31 10:39:31 -0500
commit4b0ab7dd37a3beec35699f2a821d0474bd269c2d (patch)
tree3006f1a8deb8e17085bfdb6c0cbc87fdd6748f3b /drivers/spmi/spmi.c
parent88147df0308ede3e72a2edefbb9b705e9b63932b (diff)
drm/amd/display: fix crash on setmode when mode is close to bw limit
[why] during It's possible to call dcn_validate_bandwidth with no plane. In that case, as we are only intersted in if output timing is supported or not, even if we cannot support native resolution, we still want to support lower resolution if it is valid [how] if there exist no surface, make viewport/rec_out size at max 1080p. It is already known that 1080p x 6(max # of pipes) is supported, so if we fail validation, it is because of the stream Signed-off-by: Su Sung Chung <Su.Chung@amd.com> Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/spmi/spmi.c')
0 files changed, 0 insertions, 0 deletions