diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-10-02 16:35:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-10-02 17:47:13 +0100 |
commit | ebf6a1dd1795e2f014ff3c47fe2eb4d5255845bd (patch) | |
tree | c3400bd70ffd73301100b84d53df0786f72d68b4 /tests/kms_flip.c | |
parent | d36388a9f2dfc76ac3ccc963242de1f44f9cacd4 (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_flip.c')
0 files changed, 0 insertions, 0 deletions