summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nv50_display.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2013-07-30 04:01:10 +0400
committerBen Skeggs <bskeggs@redhat.com>2013-09-04 07:46:22 +0400
commitb969fa52ba725adf83761d579a300b1107f84478 (patch)
tree65159d9ca445a0a003cd6d6efce666cc04f3a880 /drivers/gpu/drm/nouveau/nv50_display.h
parentc98b81946827fe04c36bfa6bb376ffa739b0c2d0 (diff)
downloadlinux-b969fa52ba725adf83761d579a300b1107f84478.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_display.h')
0 files changed, 0 insertions, 0 deletions