Skip to content
Snippets Groups Projects
Commit 2941482e authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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: default avatarBen Skeggs <bskeggs@redhat.com>
parent 185abecc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment