summaryrefslogtreecommitdiff
path: root/tests/kms_invalid_dotclock.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-10-02 16:35:04 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-10-02 17:47:13 +0100
commitebf6a1dd1795e2f014ff3c47fe2eb4d5255845bd (patch)
treec3400bd70ffd73301100b84d53df0786f72d68b4 /tests/kms_invalid_dotclock.c
parentd36388a9f2dfc76ac3ccc963242de1f44f9cacd4 (diff)
igt/pm_rpm: Handle no-KMS gracefully
If KMS is not supported, drmGetResources() will return NULL so be careful not to dereference it. However, we still insist that runtime pm works, so keep on testing. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_invalid_dotclock.c')
0 files changed, 0 insertions, 0 deletions