Displaying 13 results from an estimated 13 matches for "do_take_over_console".
2019 Feb 20
4
[PATCH] drm/qxl: unbind vgacon
...#include <drm/drmP.h>
#include <drm/drm.h>
@@ -89,6 +90,11 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
drm_kms_helper_poll_init(&qdev->ddev);
+ /* unbind vgacon to make sure it doesn't touch our vga registers */
+ console_lock();
+ ret = do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES - 1, true);
+ console_unlock();
+
/* Complete initialization. */
ret = drm_dev_register(&qdev->ddev, ent->driver_data);
if (ret)
--
2.9.3
2019 Feb 20
4
[PATCH] drm/qxl: unbind vgacon
...#include <drm/drmP.h>
#include <drm/drm.h>
@@ -89,6 +90,11 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
drm_kms_helper_poll_init(&qdev->ddev);
+ /* unbind vgacon to make sure it doesn't touch our vga registers */
+ console_lock();
+ ret = do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES - 1, true);
+ console_unlock();
+
/* Complete initialization. */
ret = drm_dev_register(&qdev->ddev, ent->driver_data);
if (ret)
--
2.9.3
2016 Jun 06
2
[PATCH v2] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...t;ffffff80083bf268>] fbcon_prepare_logo+0x370/0x3f8
[ 2.898635] [<ffffff80083bf640>] fbcon_init+0x350/0x560
[ 2.898641] [<ffffff800841c634>] visual_init+0xac/0x108
[ 2.898648] [<ffffff800841df14>] do_bind_con_driver+0x1c4/0x3a8
[ 2.898655] [<ffffff800841e4f4>] do_take_over_console+0x174/0x1e8
[ 2.898662] [<ffffff80083bf8c4>] do_fbcon_takeover+0x74/0x100
[ 2.898669] [<ffffff80083c3e44>] fbcon_event_notify+0x8cc/0x920
[ 2.898680] [<ffffff80080d7e38>] notifier_call_chain+0x50/0x90
[ 2.898685] [<ffffff80080d8214>] __blocking_notifier_call_chai...
2016 Apr 29
1
[PATCH] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...t;ffffff80083bf268>] fbcon_prepare_logo+0x370/0x3f8
[ 2.898635] [<ffffff80083bf640>] fbcon_init+0x350/0x560
[ 2.898641] [<ffffff800841c634>] visual_init+0xac/0x108
[ 2.898648] [<ffffff800841df14>] do_bind_con_driver+0x1c4/0x3a8
[ 2.898655] [<ffffff800841e4f4>] do_take_over_console+0x174/0x1e8
[ 2.898662] [<ffffff80083bf8c4>] do_fbcon_takeover+0x74/0x100
[ 2.898669] [<ffffff80083c3e44>] fbcon_event_notify+0x8cc/0x920
[ 2.898680] [<ffffff80080d7e38>] notifier_call_chain+0x50/0x90
[ 2.898685] [<ffffff80080d8214>] __blocking_notifier_call_chai...
2013 Mar 05
3
nouveau lockdep splat
...rm_fb_helper_set_par+0x71/0xf0
> [ 0.633682] [<ffffffff812d40e4>] fbcon_init+0x514/0x5a0
> [ 0.633683] [<ffffffff8132cbdc>] visual_init+0xbc/0x120
> [ 0.633685] [<ffffffff8132f293>] do_bind_con_driver+0x163/0x320
> [ 0.633686] [<ffffffff8132f521>] do_take_over_console+0x61/0x70
> [ 0.633687] [<ffffffff812d2703>] do_fbcon_takeover+0x63/0xc0
> [ 0.633689] [<ffffffff812d63dd>] fbcon_event_notify+0x5fd/0x700
> [ 0.633690] [<ffffffff815f23fd>] notifier_call_chain+0x4d/0x70
> [ 0.633691] [<ffffffff810694e8>] __blocki...
2019 Feb 21
0
[PATCH] drm/qxl: unbind vgacon
...nclude <drm/drm.h>
> @@ -89,6 +90,11 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
>
> drm_kms_helper_poll_init(&qdev->ddev);
>
> + /* unbind vgacon to make sure it doesn't touch our vga registers */
> + console_lock();
> + ret = do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES - 1, true);
> + console_unlock();
Still seems very late, in i915 we kick out vgacon as pretty much the first
thing in driver load. See i915_kick_out_vgacon.
I wonder whether we should integrate that logic into
drm_fb_helper_remove_conflicting_pci_framebuffers...
2016 Aug 15
1
v4.8-rc2 crashes while probing nvidia graphics card on arm64
...t;ffff0000084a4a94>] fbcon_prepare_logo+0x394/0x3f8
[ 3.571392] [<ffff0000084a4e40>] fbcon_init+0x348/0x558
[ 3.571394] [<ffff00000854053c>] visual_init+0xb4/0x108
[ 3.571397] [<ffff000008541940>] do_bind_con_driver+0x1b8/0x3a0
[ 3.571400] [<ffff000008541ee8>] do_take_over_console+0x150/0x1d0
[ 3.571404] [<ffff0000084a50c4>] do_fbcon_takeover+0x74/0xf8
[ 3.571407] [<ffff0000084a89ac>] fbcon_event_notify+0x8e4/0x910
[ 3.571412] [<ffff0000080d8ea8>] notifier_call_chain+0x50/0x90
[ 3.571415] [<ffff0000080d9284>] __blocking_notifier_call_chain...
2016 Jun 06
0
[PATCH v2] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...t;] fbcon_prepare_logo+0x370/0x3f8
> [ 2.898635] [<ffffff80083bf640>] fbcon_init+0x350/0x560
> [ 2.898641] [<ffffff800841c634>] visual_init+0xac/0x108
> [ 2.898648] [<ffffff800841df14>] do_bind_con_driver+0x1c4/0x3a8
> [ 2.898655] [<ffffff800841e4f4>] do_take_over_console+0x174/0x1e8
> [ 2.898662] [<ffffff80083bf8c4>] do_fbcon_takeover+0x74/0x100
> [ 2.898669] [<ffffff80083c3e44>] fbcon_event_notify+0x8cc/0x920
> [ 2.898680] [<ffffff80080d7e38>] notifier_call_chain+0x50/0x90
> [ 2.898685] [<ffffff80080d8214>] __blockin...
2016 Jun 30
6
[PATCH] backlight: Avoid double fbcon backlight handling
...v_set_par+0x1a/0x60 [i915]
[ 18.984136] [<ffffffff814c13c6>] fbcon_init+0x586/0x610
[ 18.984139] [<ffffffff8154d16a>] visual_init+0xca/0x130
[ 18.984141] [<ffffffff8154e611>] do_bind_con_driver+0x1c1/0x3a0
[ 18.984143] [<ffffffff8154eaf6>] do_take_over_console+0x116/0x180
[ 18.984145] [<ffffffff814bd3a7>] do_fbcon_takeover+0x57/0xb0
[ 18.984147] [<ffffffff814c1e48>] fbcon_event_notify+0x658/0x750
[ 18.984150] [<ffffffff810abcae>] notifier_call_chain+0x3e/0xb0
[ 18.984152] [<ffffffff810ac1ad>] __...
2016 Aug 04
2
[Intel-gfx] [PATCH] backlight: Avoid double fbcon backlight handling
...[ 18.984136] [<ffffffff814c13c6>] fbcon_init+0x586/0x610
>> [ 18.984139] [<ffffffff8154d16a>] visual_init+0xca/0x130
>> [ 18.984141] [<ffffffff8154e611>] do_bind_con_driver+0x1c1/0x3a0
>> [ 18.984143] [<ffffffff8154eaf6>] do_take_over_console+0x116/0x180
>> [ 18.984145] [<ffffffff814bd3a7>] do_fbcon_takeover+0x57/0xb0
>> [ 18.984147] [<ffffffff814c1e48>] fbcon_event_notify+0x658/0x750
>> [ 18.984150] [<ffffffff810abcae>] notifier_call_chain+0x3e/0xb0
>> [ 18.984152]...
2016 Jul 12
0
[Intel-gfx] [PATCH] backlight: Avoid double fbcon backlight handling
...[i915]
> [ 18.984136] [<ffffffff814c13c6>] fbcon_init+0x586/0x610
> [ 18.984139] [<ffffffff8154d16a>] visual_init+0xca/0x130
> [ 18.984141] [<ffffffff8154e611>] do_bind_con_driver+0x1c1/0x3a0
> [ 18.984143] [<ffffffff8154eaf6>] do_take_over_console+0x116/0x180
> [ 18.984145] [<ffffffff814bd3a7>] do_fbcon_takeover+0x57/0xb0
> [ 18.984147] [<ffffffff814c1e48>] fbcon_event_notify+0x658/0x750
> [ 18.984150] [<ffffffff810abcae>] notifier_call_chain+0x3e/0xb0
> [ 18.984152] [<ffff...
2016 Aug 04
1
[Intel-gfx] [PATCH] backlight: Avoid double fbcon backlight handling
...[<ffffffff814c13c6>] fbcon_init+0x586/0x610
> >> [ 18.984139] [<ffffffff8154d16a>] visual_init+0xca/0x130
> >> [ 18.984141] [<ffffffff8154e611>] do_bind_con_driver+0x1c1/0x3a0
> >> [ 18.984143] [<ffffffff8154eaf6>] do_take_over_console+0x116/0x180
> >> [ 18.984145] [<ffffffff814bd3a7>] do_fbcon_takeover+0x57/0xb0
> >> [ 18.984147] [<ffffffff814c1e48>] fbcon_event_notify+0x658/0x750
> >> [ 18.984150] [<ffffffff810abcae>] notifier_call_chain+0x3e/0xb0
> >...
2018 Jan 23
2
Problems getting nouveau to work with either Geforce GT710 or Geforce 9800GT on ARM Cortex-A9
...6:bf024914 r5:00000000
[ 2107.382400] r4:bf024800
[ 2107.382404] [<805eab80>] (visual_init) from [<805ec88c>] (do_bind_con_driver+0x1f0/0x418)
[ 2107.382407] r7:00000000 r6:00000000 r5:80c4cc98 r4:00000001
[ 2107.382411] [<805ec69c>] (do_bind_con_driver) from [<805ecdc4>] (do_take_over_console+0x9c/0x1dc)
[ 2107.382414] r10:810d25f0 r9:00000001 r8:0000003e r7:00000000 r6:00000000 r5:00000000
[ 2107.382415] r4:80c4cc98
[ 2107.382420] [<805ecd28>] (do_take_over_console) from [<805a6a64>] (do_fbcon_takeover+0x7c/0xd4)
[ 2107.382423] r10:bf112010 r9:810d0170 r8:00000000 r7:000...