diff options
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bios.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 03032528c8d6..c66d4567a2ed 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c | |||
@@ -6872,6 +6872,8 @@ nouveau_bios_init(struct drm_device *dev) | |||
6872 | "running VBIOS init tables.\n"); | 6872 | "running VBIOS init tables.\n"); |
6873 | bios->execute = true; | 6873 | bios->execute = true; |
6874 | } | 6874 | } |
6875 | if (nouveau_force_post) | ||
6876 | bios->execute = true; | ||
6875 | 6877 | ||
6876 | ret = nouveau_run_vbios_init(dev); | 6878 | ret = nouveau_run_vbios_init(dev); |
6877 | if (ret) | 6879 | if (ret) |
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c index f919e411e39a..edc4a9ab28d1 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.c +++ b/drivers/gpu/drm/nouveau/nouveau_drv.c | |||
@@ -80,6 +80,10 @@ MODULE_PARM_DESC(nofbaccel, "Disable fbcon acceleration"); | |||
80 | int nouveau_nofbaccel = 0; | 80 | int nouveau_nofbaccel = 0; |
81 | module_param_named(nofbaccel, nouveau_nofbaccel, int, 0400); | 81 | module_param_named(nofbaccel, nouveau_nofbaccel, int, 0400); |
82 | 82 | ||
83 | MODULE_PARM_DESC(force_post, "Force POST"); | ||
84 | int nouveau_force_post = 0; | ||
85 | module_param_named(force_post, nouveau_force_post, int, 0400); | ||
86 | |||
83 | MODULE_PARM_DESC(override_conntype, "Ignore DCB connector type"); | 87 | MODULE_PARM_DESC(override_conntype, "Ignore DCB connector type"); |
84 | int nouveau_override_conntype = 0; | 88 | int nouveau_override_conntype = 0; |
85 | module_param_named(override_conntype, nouveau_override_conntype, int, 0400); | 89 | module_param_named(override_conntype, nouveau_override_conntype, int, 0400); |
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index ef74d40d1bf1..b209a6208757 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -755,6 +755,7 @@ extern char *nouveau_vbios; | |||
755 | extern int nouveau_ignorelid; | 755 | extern int nouveau_ignorelid; |
756 | extern int nouveau_nofbaccel; | 756 | extern int nouveau_nofbaccel; |
757 | extern int nouveau_noaccel; | 757 | extern int nouveau_noaccel; |
758 | extern int nouveau_force_post; | ||
758 | extern int nouveau_override_conntype; | 759 | extern int nouveau_override_conntype; |
759 | extern char *nouveau_perflvl; | 760 | extern char *nouveau_perflvl; |
760 | extern int nouveau_perflvl_wr; | 761 | extern int nouveau_perflvl_wr; |