diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-08-02 12:13:46 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-04 09:49:20 +1000 |
commit | e06b14ee91a2ddefc9a67443a6cd8ee0fa800115 (patch) | |
tree | 621e5dc5f78e538ff80a0448a803fb1f3ce93add /arch/x86/kernel/acpi/cstate.c | |
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>
Diffstat (limited to 'arch/x86/kernel/acpi/cstate.c')
0 files changed, 0 insertions, 0 deletions