[igt-dev] [PATCH i-g-t] igt: Check drmModeGetResources()
Arkadiusz Hiler
arkadiusz.hiler at intel.com
Thu Oct 4 12:44:46 UTC 2018
On Wed, Oct 03, 2018 at 08:43:49PM +0100, Chris Wilson wrote:
> If KMS is not supported on the device, drmModeGetResources() will return
> NULL, often this is an indication that we should not attempt to run the
> test. Although it would be preferred to use something like
> igt_require_display() as the canonical check and assert that
> drmModeGetResources() did not hit an error, it is not always practical
> as the tests do not utilize the common igt_display abstraction.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
and pushed
More information about the igt-dev
mailing list