diff options
author | Anshuman Gupta <anshuman.gupta@intel.com> | 2022-05-19 17:05:41 +0530 |
---|---|---|
committer | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2022-05-19 08:58:44 -0700 |
commit | 9d6a9388ea6f5f4c97ea4a6142d80bb53af9ed6c (patch) | |
tree | b6645ab188395ad873261eee624a9fa27c9d91e3 /lib/intel_batchbuffer.c | |
parent | d7b644435eecadcf4a8a50f5e405de2818b7b9ad (diff) |
test: i915_pm_rpm: conditional initialization of igt_display_t
Initialize igt_display_t display only in case of there are
valid drm kms resources.
v2:
- Move igt_display_fini under the 'if (data->res)' cond. [Ashutosh]
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions