]> Pileus Git - ~andy/linux/commit
drm/i915: Reject opening of pipe crc files for invalid pipes
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Nov 2013 10:30:43 +0000 (11:30 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Nov 2013 11:24:04 +0000 (12:24 +0100)
commit7eb1c496f7ac0f386552c0cd9144f6965fc61da5
treea04845fb22525f9fb4698393c2b4ad5742a064ca
parentb378360e8fa4a2f21960747f194c1c7c1f3ae7f9
drm/i915: Reject opening of pipe crc files for invalid pipes

We don't init the lock nor set up all the other state. And it doesn't
make sense anyway.

This appeases lockdep when running the igt/drv_debugfs_reader test.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c