framebuffer.c (78b68556a964e74fb803b08c5b2d9c6ba3ec3787) framebuffer.c (e6ecefaadfcdb03db8ac9e739b4ba7a93a8811b3)
1/**************************************************************************
2 * Copyright (c) 2007-2011, Intel Corporation.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *

--- 768 unchanged lines hidden (view full) ---

777 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev;
778 int i;
779
780 drm_mode_config_init(dev);
781
782 dev->mode_config.min_width = 0;
783 dev->mode_config.min_height = 0;
784
1/**************************************************************************
2 * Copyright (c) 2007-2011, Intel Corporation.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *

--- 768 unchanged lines hidden (view full) ---

777 struct psb_intel_mode_device *mode_dev = &dev_priv->mode_dev;
778 int i;
779
780 drm_mode_config_init(dev);
781
782 dev->mode_config.min_width = 0;
783 dev->mode_config.min_height = 0;
784
785 dev->mode_config.funcs = (void *) &psb_mode_funcs;
785 dev->mode_config.funcs = &psb_mode_funcs;
786
787 /* set memory base */
788 /* Oaktrail and Poulsbo should use BAR 2*/
789 pci_read_config_dword(dev->pdev, PSB_BSM, (u32 *)
790 &(dev->mode_config.fb_base));
791
792 /* num pipes is 2 for PSB but 1 for Mrst */
793 for (i = 0; i < dev_priv->num_pipe; i++)

--- 26 unchanged lines hidden ---
786
787 /* set memory base */
788 /* Oaktrail and Poulsbo should use BAR 2*/
789 pci_read_config_dword(dev->pdev, PSB_BSM, (u32 *)
790 &(dev->mode_config.fb_base));
791
792 /* num pipes is 2 for PSB but 1 for Mrst */
793 for (i = 0; i < dev_priv->num_pipe; i++)

--- 26 unchanged lines hidden ---