projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
127f100
)
drm/i915: WARN if module opt sanitization goes out of order
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 11 Aug 2014 13:57:57 +0000
(15:57 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 11 Aug 2014 14:00:34 +0000
(16:00 +0200)
Depending upon one module option to be sanitized (through USES_PPGTT)
for the other is a bit too fragile for my taste. At least WARN about
this.
Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_lrc.c
b/drivers/gpu/drm/i915/intel_lrc.c
index
21f7f1c
..
4472129
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_lrc.c
+++ b/
drivers/gpu/drm/i915/intel_lrc.c
@@
-43,6
+43,8
@@
int intel_sanitize_enable_execlists(struct drm_device *dev, int enable_execlists)
{
+ WARN_ON(i915.enable_ppgtt == -1);
+
if (enable_execlists == 0)
return 0;