ecore-drm2: Don't fill device atomic state if atomic is disabled
authorChris Michael <cp.michael@samsung.com>
Tue, 30 May 2017 15:01:22 +0000 (11:01 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 30 May 2017 15:01:22 +0000 (11:01 -0400)
commitbd189f69f2926b479b334c30650606645d7fa245
tree0dce6c1b78fd38a1e2cb4875833e7934b5f39932
parentba4042da1e25ee8ff0f95be242b5a865a0141669
ecore-drm2: Don't fill device atomic state if atomic is disabled

If atomic support is disabled (via kernel or env var), then we do not
need to fill device atomic state as it will not be used anyway.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm2/ecore_drm2_device.c