diff options
author | Jessica Zhang <quic_jesszhan@quicinc.com> | 2022-06-03 11:32:57 -0700 |
---|---|---|
committer | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2022-06-03 18:26:58 -0700 |
commit | df7f206e45fe9affd7ed69045cb7f418e85d67ef (patch) | |
tree | 87ade7e4c358e8d6675bb9e5ef5df1a64f2e7556 /lib/igt_list.c | |
parent | edb1a467fb622b23b927e28ff603fa43851fea97 (diff) |
lib/igt_kms: Call get_assigned_primary only if display is initialized
Move code for getting the driver-assigned primary plane to before the
`out` tag. This will avoid any crashes in cases where the display
resources haven't been initialized.
Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'lib/igt_list.c')
0 files changed, 0 insertions, 0 deletions