commit | e06b14ee91a2ddefc9a67443a6cd8ee0fa800115 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexdeucher@gmail.com> | Mon Aug 02 12:13:46 2010 -0400 |
committer | Dave Airlie <airlied@redhat.com> | Wed Aug 04 09:49:20 2010 +1000 |
tree | 621e5dc5f78e538ff80a0448a803fb1f3ce93add | |
parent | ba4420c224c2808f2661cf8428f43ceef7a73a4a [diff] |
drm/radeon/kms: handle the case of no active displays properly in the bandwidth code Logic was: if (mode0 && mode1) else if (mode0) else Should be: if (mode0 && mode1) else if (mode0) else if (mode1) Otherwise we may end up calculating the priority regs with unitialized values. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=16492 Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>