sna: Add DSI to the list of recognised panel connectors.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-08-05 15:30:11 +01:00
parent 941ae4c868
commit cea47f8cfc
1 changed files with 5 additions and 1 deletions

View File

@ -2514,8 +2514,12 @@ sna_crtc_add(ScrnInfoPtr scrn, int id)
static bool
is_panel(int type)
{
#define DRM_MODE_CONNECTOR_LVDS 7
#define DRM_MODE_CONNECTOR_eDP 14
#define DRM_MODE_CONNECTOR_DSI 16
return (type == DRM_MODE_CONNECTOR_LVDS ||
type == DRM_MODE_CONNECTOR_eDP);
type == DRM_MODE_CONNECTOR_eDP ||
type == DRM_MODE_CONNECTOR_DSI);
}
static int