Commit 9fce3623 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

gma500; clean mid files

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e9139724
...@@ -237,19 +237,17 @@ static void mid_get_vbt_data(struct drm_psb_private *dev_priv) ...@@ -237,19 +237,17 @@ static void mid_get_vbt_data(struct drm_psb_private *dev_priv)
dev_err(dev->dev, "Unknown revision of GCT!\n"); dev_err(dev->dev, "Unknown revision of GCT!\n");
vbt->size = 0; vbt->size = 0;
} }
if (IS_MFLD(dev_priv->dev)){ if (IS_MFLD(dev_priv->dev)) {
if (panel_id == GCT_DETECT) { if (panel_id == GCT_DETECT) {
if (dev_priv->gct_data.bpi == 2) { if (dev_priv->gct_data.bpi == 2) {
dev_info(dev->dev, "[GFX] PYR Panel Detected\n"); dev_info(dev->dev, "[GFX] PYR Panel Detected\n");
dev_priv->panel_id = PYR_CMD; dev_priv->panel_id = PYR_CMD;
panel_id = PYR_CMD; panel_id = PYR_CMD;
} } else if (dev_priv->gct_data.bpi == 0) {
else if(dev_priv->gct_data.bpi == 0) {
dev_info(dev->dev, "[GFX] TMD Panel Detected.\n"); dev_info(dev->dev, "[GFX] TMD Panel Detected.\n");
dev_priv->panel_id = TMD_VID; dev_priv->panel_id = TMD_VID;
panel_id = TMD_VID; panel_id = TMD_VID;
} } else {
else {
dev_info(dev->dev, "[GFX] Default Panel (TPO)\n"); dev_info(dev->dev, "[GFX] Default Panel (TPO)\n");
dev_priv->panel_id = TPO_CMD; dev_priv->panel_id = TPO_CMD;
panel_id = TPO_CMD; panel_id = TPO_CMD;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment