Displaying 2 results from an estimated 2 matches for "dcb_connector_dms59_dp0".
Did you mean:
dcb_connector_dms59_dp1
2023 Oct 11
1
[PATCH] drm/nouveau/disp: fix DP capable DSM connectors
...+++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
@@ -62,6 +62,18 @@ nvkm_uconn_uevent_gpio(struct nvkm_object *object, u64 token, u32 bits)
return object->client->event(token, &args, sizeof(args.v0));
}
+static bool
+nvkm_connector_is_dp_dms(u8 type)
+{
+ switch (type) {
+ case DCB_CONNECTOR_DMS59_DP0:
+ case DCB_CONNECTOR_DMS59_DP1:
+ return true;
+ default:
+ return false;
+ }
+}
+
static int
nvkm_uconn_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_uevent *uevent)
{
@@ -101,7 +113,7 @@ nvkm_uconn_uevent(struct nvkm_object *object, void *argv, u32 argc, struct nvkm_...
2017 Jul 26
0
[PATCH] disp: Silence DCB warnings.
.../drm/nouveau/include/nvkm/subdev/bios/conn.h b/drm/nouveau/include/nvkm/subdev/bios/conn.h
index e8e77ee2..deb47728 100644
--- a/drm/nouveau/include/nvkm/subdev/bios/conn.h
+++ b/drm/nouveau/include/nvkm/subdev/bios/conn.h
@@ -18,6 +18,7 @@ enum dcb_connector_type {
DCB_CONNECTOR_HDMI_C = 0x63,
DCB_CONNECTOR_DMS59_DP0 = 0x64,
DCB_CONNECTOR_DMS59_DP1 = 0x65,
+ DCB_CONNECTOR_WFD = 0x70,
DCB_CONNECTOR_NONE = 0xff
};
diff --git a/drm/nouveau/include/nvkm/subdev/bios/dcb.h b/drm/nouveau/include/nvkm/subdev/bios/dcb.h
index 4892a65d..903d1176 100644
--- a/drm/nouveau/include/nvkm/subdev/bios/dcb.h
+++ b/drm/nou...