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:
parent
941ae4c868
commit
cea47f8cfc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue