summaryrefslogtreecommitdiff
path: root/drm/nouveau/nouveau_fbcon.c
Commit message (Collapse)AuthorAgeFilesLines
* v4.10-rc6Ben Skeggs2017-01-311-9/+34
|
* drm-next 7625e05286cf3f37c8a5e633379a4d014ddbe555Ben Skeggs2016-11-281-14/+2
|
* kms: never call drm_helper_disable_unused_functions() with atomicBen Skeggs2016-11-071-1/+2
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* fbcon: refcount the drm_framebufferBen Skeggs2016-11-071-7/+6
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* fbcon: make use of drm_fb_helper.fbBen Skeggs2016-11-071-30/+22
| | | | | | Transitional step towards properly refcounting the fbcon fb. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* fbcon: make use of drm_fb_helper.devBen Skeggs2016-11-071-9/+8
| | | | | | | No need to store the pointer ourselves when it's already present in the base struct. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm-next 7b624ad8fea1be7ff4c22643e212191aa6a2a3c2Ben Skeggs2016-11-071-1/+0
|
* drm: fix for disabled fbdev emulationDmitrii Tcvetkov2016-06-241-1/+2
| | | | | | | | | | | | | | | | | | | | | Hello, after this commit: commit f045f459d925138fe7d6193a8c86406bda7e49da 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: f045f459d925 ("nouveau_fbcon_init()") Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* fbcon: fix out-of-bounds memory accessesBen Skeggs2016-06-021-0/+1
| | | | | | Reported by KASAN. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: rename nouveau_drm.h to nouveau_drv.hBen Skeggs2016-05-201-1/+1
| | | | | | | Fixes out-of-tree build issue where uapi/drm/nouveau_drm.h gets picked up instead. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm-next 7c10ddf87472c07eabc206e273dc59f77c700858Ben Skeggs2016-05-201-5/+0
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* fbcon: take runpm reference when userspace has an open fdBen Skeggs2015-10-121-0/+24
| | | | | | | | | | | We need to do this in order to prevent accesses to the device while it's powered down. Userspace may have an mmap of the fb, and there's no good way (that I know of) to prevent it from touching the device otherwise. This fixes some nasty races between runpm and plymouth on some systems, which result in the GPU getting very upset and hanging the boot. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm-next d7b273685fedba5359a4ba0ae4f542e3ece28153Ben Skeggs2015-08-281-27/+12
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* v4.1-rc5Ben Skeggs2015-05-291-7/+16
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: remove symlinks from build, use Kbuild files for lib buildBen Skeggs2015-01-191-0/+563
The DRM build used a separate, symlinked, source tree out of a desire to avoid Kbuild/autotools' object files conflicting. Not only is this very annoying to maintain, but it's made worse by having two entirely separate source file lists to maintain too. Fixes both these issues by ditching automake (it doesn't approve of the kernel's Kbuild syntax) in favour of custom makefiles that can build libnvif.so from the Kbuild files. Like the previous commit, this will never show up in the kernel tree (it has its own version). Signed-off-by: Ben Skeggs <bskeggs@redhat.com>