]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: fix for disabled fbdev emulation
authorDmitrii Tcvetkov <demfloro@demfloro.ru>
Mon, 20 Jun 2016 10:52:14 +0000 (13:52 +0300)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jun 2016 21:51:32 +0000 (07:51 +1000)
commitbc2dac097b300e1183884a993b0246fdee213bc8
treecd6573b6dc893648d03651168954dc18119cd0a1
parent5671fc3da0d4bb230f1b597f636c56c5fbb5812b
drm/nouveau: fix for disabled fbdev emulation

Hello,

after this commit:

commit 1dd6391afc6632ac8b6d6c8d59f6945fc99d89e3
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Thu Jun 2 12:23:31 2016 +1000
    drm/nouveau/fbcon: fix out-of-bounds memory accesses

kernel started to oops when loading nouveau module when using GTX 780 Ti
video adapter. This patch fixes the problem.

Bug report: https://bugzilla.kernel.org/show_bug.cgi?id=120591

Signed-off-by: Dmitrii Tcvetkov <demfloro@demfloro.ru>
Suggested-by: Ilia Mirkin <imirkin@alum.mit.edu>
Fixes: 1dd6391afc66 ("nouveau_fbcon_init()")
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/nouveau_fbcon.c