commit | b969fa52ba725adf83761d579a300b1107f84478 | [log] [tgz] |
---|---|---|
author | Emil Velikov <emil.l.velikov@gmail.com> | Tue Jul 30 01:01:10 2013 +0100 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Sep 04 13:46:22 2013 +1000 |
tree | 65159d9ca445a0a003cd6d6efce666cc04f3a880 | |
parent | c98b81946827fe04c36bfa6bb376ffa739b0c2d0 [diff] |
drm/nv50-/disp: use the number of dac, sor, pior rather than hardcoded values The values are already stored on chipset specific basis in the ctor. Make the most of them and simplify the code further by using a temporary variable to avoid code duplication. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>