aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.c')
-rw-r--r--drivers/gpu/drm/msm/msm_drv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index 84d38eaea585..8d21fb27a401 100644
--- a/drivers/gpu/drm/msm/msm_drv.c
+++ b/drivers/gpu/drm/msm/msm_drv.c
@@ -79,6 +79,10 @@ static char *vram = "16m";
79MODULE_PARM_DESC(vram, "Configure VRAM size (for devices without IOMMU/GPUMMU)"); 79MODULE_PARM_DESC(vram, "Configure VRAM size (for devices without IOMMU/GPUMMU)");
80module_param(vram, charp, 0); 80module_param(vram, charp, 0);
81 81
82bool dumpstate = false;
83MODULE_PARM_DESC(dumpstate, "Dump KMS state on errors");
84module_param(dumpstate, bool, 0600);
85
82/* 86/*
83 * Util/helpers: 87 * Util/helpers:
84 */ 88 */
@@ -768,9 +772,7 @@ static const struct file_operations fops = {
768 .open = drm_open, 772 .open = drm_open,
769 .release = drm_release, 773 .release = drm_release,
770 .unlocked_ioctl = drm_ioctl, 774 .unlocked_ioctl = drm_ioctl,
771#ifdef CONFIG_COMPAT
772 .compat_ioctl = drm_compat_ioctl, 775 .compat_ioctl = drm_compat_ioctl,
773#endif
774 .poll = drm_poll, 776 .poll = drm_poll,
775 .read = drm_read, 777 .read = drm_read,
776 .llseek = no_llseek, 778 .llseek = no_llseek,