diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-09-03 10:25:02 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-09-24 16:23:54 +1000 |
commit | 2941482ead0b02c9efd81fc3862be3ebfce607a5 (patch) | |
tree | 97f89410377a8b5d7dc6f97df64f0fbb7e404593 /drivers/gpu/drm/nouveau/nv50_grctx.c | |
parent | 185abeccabe5aed0ef79e8572c3916ea08034a45 (diff) | |
download | blackbird-op-linux-2941482ead0b02c9efd81fc3862be3ebfce607a5.tar.gz blackbird-op-linux-2941482ead0b02c9efd81fc3862be3ebfce607a5.zip |
drm/nouveau: protect ramht_find() from oopsing if on channel without ramht
This doesn't actually happen now, but there's a test case for an earlier
kernel where a GPU error is signalled on one of nv50's fake channels, and
the ramht lookup by the IRQ handler triggered an oops.
This adds a check for RAMHT's existance on a channel before looking up
an object handle.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_grctx.c')
0 files changed, 0 insertions, 0 deletions