diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-08-02 12:13:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 11:09:22 -0700 |
commit | c1899005b1dc135bf42198ce65cfb52c22f5bdf9 (patch) | |
tree | 0244e22bbf77cc0bece488004a68af0de8badab4 /fs/jbd/commit.c | |
parent | 44437579efca258e3c4a09f59838c8f933611990 (diff) |
drm/radeon/kms: handle the case of no active displays properly in the bandwidth code
commit e06b14ee91a2ddefc9a67443a6cd8ee0fa800115 upstream.
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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions