mode_ctl |= 0x100;
}
- if (desired_mode->flags & V_NHSYNC)
+ if (desired_mode->flags & DRM_MODE_FLAG_NHSYNC)
mode_ctl2 |= NV50_DAC_MODE_CTRL2_NHSYNC;
- if (desired_mode->flags & V_NVSYNC)
+ if (desired_mode->flags & DRM_MODE_FLAG_NVSYNC)
mode_ctl2 |= NV50_DAC_MODE_CTRL2_NVSYNC;
OUT_MODE(NV50_DAC0_MODE_CTRL + offset, mode_ctl);
if (!display || !output)
return -EINVAL;
- list_del(&output->head);
+ list_del(&output->item);
kfree(output->native_mode);
if (dev_priv->free_output)
output->dcb_entry = dcb_entry;
output->bus = entry->bus;
- list_add_tail(&output->head, &display->outputs);
+ list_add_tail(&output->item, &display->outputs);
output->native_mode = kzalloc(sizeof(struct nouveau_hw_mode), GFP_KERNEL);
if (!output->native_mode) {