drm/nv50-/disp: 0x0000 is a valid udisp config value
authorBen Skeggs <bskeggs@redhat.com>
Sat, 16 Feb 2013 03:49:21 +0000 (13:49 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:01:01 +0000 (16:01 +1000)
commit46c13c131d3b73080aa0f50f45e834a9ab3c0e71
tree5d07f5f26e04a6eb4d0bcd41107cd50e3ba4e23b
parentac8cc241a81941932da44993242e68c62e115ec7
drm/nv50-/disp: 0x0000 is a valid udisp config value

Return an out-of-range value instead to signal a failure from
exec_clkcmp().

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
drivers/gpu/drm/nouveau/core/engine/disp/nvd0.c