* take note of external encoders
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42893 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -136,6 +136,7 @@ struct encoder_info {
|
||||
uint16 objectID;
|
||||
uint32 type;
|
||||
uint32 flags;
|
||||
bool isExternal;
|
||||
bool isHDMI;
|
||||
bool isTV;
|
||||
struct pll_info pll;
|
||||
|
||||
@@ -470,6 +470,8 @@ detect_connectors()
|
||||
>> OBJECT_ID_SHIFT;
|
||||
|
||||
uint32 encoderType = VIDEO_ENCODER_NONE;
|
||||
bool encoderExternal = false;
|
||||
|
||||
switch(encoderID) {
|
||||
case ENCODER_OBJECT_ID_INTERNAL_LVDS:
|
||||
case ENCODER_OBJECT_ID_INTERNAL_TMDS1:
|
||||
@@ -519,6 +521,7 @@ detect_connectors()
|
||||
case ENCODER_OBJECT_ID_HDMI_SI1930:
|
||||
case ENCODER_OBJECT_ID_TRAVIS:
|
||||
case ENCODER_OBJECT_ID_NUTMEG:
|
||||
encoderExternal = true;
|
||||
if ((connectorFlags
|
||||
& ATOM_DEVICE_LCD_SUPPORT) != 0) {
|
||||
encoderType = VIDEO_ENCODER_LVDS;
|
||||
@@ -552,6 +555,8 @@ detect_connectors()
|
||||
= encoderID;
|
||||
gConnector[connectorIndex]->encoder.type
|
||||
= encoderType;
|
||||
gConnector[connectorIndex]->encoder.isExternal
|
||||
= encoderExternal;
|
||||
|
||||
pll_limit_probe(
|
||||
&gConnector[connectorIndex]->encoder.pll);
|
||||
|
||||
Reference in New Issue
Block a user