diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-11-02 13:56:33 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-11-02 13:56:33 +0100 |
commit | 76be0834849846f7d801b75fe30166047c09d9b2 (patch) | |
tree | cf1d7ae27859cd5d29f1e47efd6a8ecbc5e26e94 /assembler/brw_eu.h | |
parent | 7aac0e88606ce453b111ce80419dc58519db05ad (diff) |
lib/igt_debugfs: Use fstat instead of open for testing CRC support.
commit 8038e09be5a3ac06 ("drm/crc: Only open CRC on atomic drivers when
the CRTC is active.") rejects opens on the CRC when the CRTC is not
configured. Use fstat instead to check this file exists, so we don't
accidentally rely on the legacy CRC path.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> #irc
Diffstat (limited to 'assembler/brw_eu.h')
0 files changed, 0 insertions, 0 deletions