diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2014-01-27 10:26:05 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2014-01-27 10:27:20 -0800 |
commit | 5ecac45ff08945f99365ff6d29ba21f896cdb1b6 (patch) | |
tree | e36b254d00ef94e4f740eeaab587ae4ae1516d72 | |
parent | 0b4c33f62c2d4a61b0b5e9184524c8ca273400b1 (diff) |
mmio: allow register init even if debugfs isn't available and i915 isn't loaded
This lets us dump regs even if modeset=0 for example.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r-- | lib/intel_mmio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/intel_mmio.c b/lib/intel_mmio.c index c12ec489..2f8cab7a 100644 --- a/lib/intel_mmio.c +++ b/lib/intel_mmio.c @@ -205,10 +205,7 @@ intel_register_access_init(struct pci_device *pci_dev, int safe) ret = find_debugfs_path("/debug/dri"); if (ret) { fprintf(stderr, "Couldn't find path to dri/debugfs entry\n"); - if (i915_loaded()) { - fprintf(stderr, "i915 loaded; not proceeding.\n"); - return ret; - } + fprintf(stderr, "warning: forcewake will not be handled\n"); } mmio_data.key = FAKEKEY; } else |