summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-01-28 14:39:26 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-28 15:42:39 +0100
commit25b357f1f82a5d2c061f5fb3e6110572f2285036 (patch)
treea9fd4213b6f9fb29ac7872c4543b02a160aff517 /kernel
parent9dc447d23d82e92679fe3d1c65c3a5eb7550168c (diff)
drm/nouveau/disp/nv50-: prevent oops when no channel method map provided
[ Upstream commit 0e6176c6d286316e9431b4f695940cfac4ffe6c2 ] The implementations for most channel types contains a map of methods to priv registers in order to provide debugging info when a disp exception has been raised. This info is missing from the implementation of PIO channels as they're rather simplistic already, however, if an exception is raised by one of them, we'd end up triggering a NULL-pointer deref. Not ideal... Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=206299 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions