drm/i915: Only one open() allowed on pipe CRC result files
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 15 Oct 2013 17:55:41 +0000 (18:55 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Oct 2013 11:32:16 +0000 (13:32 +0200)
commitbe5c7a90753fb9f74c867f74489abe822ffb4b26
treee7665ab0062b809aff494308f19643ea99827238
parent071444280bcbb96ec38a1fb1ee3924ca7860844a
drm/i915: Only one open() allowed on pipe CRC result files

It doesn't really make sense to have two processes dequeueing the CRC
values at the same time. Forbid that usage.

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