1 /* SPDX-License-Identifier: MIT */ 2 #ifndef __NVIF_CONN_H__ 3 #define __NVIF_CONN_H__ 4 #include <nvif/object.h> 5 struct nvif_disp; 6 7 struct nvif_conn { 8 struct nvif_object object; 9 }; 10 11 int nvif_conn_ctor(struct nvif_disp *, const char *name, int id, struct nvif_conn *); 12 void nvif_conn_dtor(struct nvif_conn *); 13 14 #define NVIF_CONN_HPD_STATUS_UNSUPPORTED 0 /* negative if query fails */ 15 #define NVIF_CONN_HPD_STATUS_NOT_PRESENT 1 16 #define NVIF_CONN_HPD_STATUS_PRESENT 2 17 int nvif_conn_hpd_status(struct nvif_conn *); 18 #endif 19