atomic_inc(&dev_priv->hotplug_wq_done);
/* notify user space of hotplug event via a uevent message */
-#ifdef CONFIG_X86_MRST
+#ifdef CONFIG_X86_MDFLD
intel_scu_ipc_iowrite8(MSIC_VCC330CNT, VCC330_ON);
intel_scu_ipc_ioread8(MSIC_HDMI_STATUS, &data);
struct drm_psb_private,
hdmi_audio_wq);
-#ifdef CONFIG_X86_MRST
+#ifdef CONFIG_X86_MDFLD
intel_scu_ipc_iowrite8(MSIC_VCC330CNT, VCC330_ON);
intel_scu_ipc_ioread8(MSIC_HDMI_STATUS, &data);
DRM_INFO("hdmi_do_audio_wq: Checking for HDMI connection at boot\n");
}
}
-#ifndef CONFIG_X86_MRST
+#ifndef CONFIG_X86_MDFLD
/**
* Save HW states of giving crtc
*/
{
struct psb_intel_crtc *psb_intel_crtc = to_psb_intel_crtc(crtc);
-#ifndef CONFIG_X86_MRST
+#ifndef CONFIG_X86_MDFLD
kfree(psb_intel_crtc->crtc_state);
#endif
drm_crtc_cleanup(crtc);
const struct drm_crtc_funcs mdfld_intel_crtc_funcs;
const struct drm_crtc_funcs psb_intel_crtc_funcs = {
-#ifndef CONFIG_X86_MRST
+#ifndef CONFIG_X86_MDFLD
.save = psb_intel_crtc_save,
.restore = psb_intel_crtc_restore,
#endif
if (psb_intel_crtc == NULL)
return;
-#ifndef CONFIG_X86_MRST
+#ifndef CONFIG_X86_MDFLD
psb_intel_crtc->crtc_state =
kzalloc(sizeof(struct psb_intel_crtc_state), GFP_KERNEL);
if (!psb_intel_crtc->crtc_state) {
}
const struct drm_crtc_funcs mdfld_intel_crtc_funcs = {
-#ifndef CONFIG_X86_MRST
+#ifndef CONFIG_X86_MDFLD
.save = psb_intel_crtc_save,
.restore = psb_intel_crtc_restore,
#endif
u32 mode_flags;
/*FIXME: Workaround to avoid MRST block.*/
-#ifndef CONFIG_X86_MRST
+#ifndef CONFIG_X86_MDFLD
/* Saved Crtc HW states */
struct psb_intel_crtc_state *crtc_state;
#endif
static enum drm_connector_status mdfld_hdmi_detect(struct drm_connector
*connector)
{
-#ifdef CONFIG_X86_MRST
+#ifdef CONFIG_X86_MDFLD
struct drm_device *dev = connector->dev;
struct drm_psb_private *dev_priv =
(struct drm_psb_private *)dev->dev_private;
/* turn off panel power */
ret = 0;
-#ifdef CONFIG_X86_MRST
+#ifdef CONFIG_X86_MDFLD
ret = intel_scu_ipc_simple_command(IPC_MSG_PANEL_ON_OFF, IPC_CMD_PANEL_OFF);
if (ret)
printk(KERN_WARNING "IPC 0xE9 failed to turn off pnl pwr. Error is: %x\n", ret);
}else{
if (!dev_priv->iLVDS_enable) {
-#ifdef CONFIG_X86_MRST
+#ifdef CONFIG_X86_MDFLD
int ret=0;
ret = intel_scu_ipc_simple_command(IPC_MSG_PANEL_ON_OFF, IPC_CMD_PANEL_ON);
if (ret)