diff options
author | Rob Clark <robdclark@gmail.com> | 2016-11-05 11:08:12 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-11-08 16:38:03 -0500 |
commit | 06d9f56f1d9aed065c18ffb48ea51901886afba9 (patch) | |
tree | 48782de152d8628779a8a77e86de86445d3b8000 /drivers/gpu/drm/msm/msm_drv.c | |
parent | dd701ae9ce37e577857e67d05f38573334417b33 (diff) | |
download | linux-06d9f56f1d9aed065c18ffb48ea51901886afba9.tar.gz linux-06d9f56f1d9aed065c18ffb48ea51901886afba9.tar.bz2 linux-06d9f56f1d9aed065c18ffb48ea51901886afba9.zip |
drm/msm: module param to dump state on error irq
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1478358492-30738-8-git-send-email-robdclark@gmail.com
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 8855972303ec..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"; MODULE_PARM_DESC(vram, "Configure VRAM size (for devices without IOMMU/GPUMMU)"); module_param(vram, charp, 0); +bool dumpstate = false; +MODULE_PARM_DESC(dumpstate, "Dump KMS state on errors"); +module_param(dumpstate, bool, 0600); + /* * Util/helpers: */ |