]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
drm: bump DRM_CONNECTOR_MAX_ENCODER from 2 to 3
authorBen Skeggs <bskeggs@redhat.com>
Thu, 12 Jan 2012 06:00:57 +0000 (16:00 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Jan 2012 09:01:09 +0000 (09:01 +0000)
There exists at least one NVIDIA GPU (Quadro NVS 300) that has a DMS-59
connector which is capable of supporting DisplayPort, TMDS and VGA on
a single connector.

We need to bump the allowed encoder limit to support all three configs.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/drm/drm_crtc.h

index 63e4fce6728829bb98c9630220fc75f21d19814e..4cd4be26722c14fb58d7f86f0a2a4988798cda68 100644 (file)
@@ -453,7 +453,7 @@ struct drm_encoder_funcs {
 #define DRM_CONNECTOR_MAX_UMODES 16
 #define DRM_CONNECTOR_MAX_PROPERTY 16
 #define DRM_CONNECTOR_LEN 32
-#define DRM_CONNECTOR_MAX_ENCODER 2
+#define DRM_CONNECTOR_MAX_ENCODER 3
 
 /**
  * drm_encoder - central DRM encoder structure