~ubuntu-branches/ubuntu/oneiric/xserver-xorg-video-ati/oneiric

« back to all changes in this revision

Viewing changes to src/drmmode_display.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Hooker
  • Date: 2010-07-08 16:45:59 UTC
  • mfrom: (1.1.34 upstream) (0.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100708164559-t1gwcpobj4n39lhf
Tags: 1:6.13.1-1ubuntu1
* Merge from Debian Unstable. Remainning Ubuntu changes:
  + debian/control:
    - Add quilt to build-depends for Ubuntu patches
  + debian/patches/100_radeon-6.9.0-bgnr-enable.patch:
    - Smooth plymouth transition enablement patch
  + debian/rules:
    - Add xsfbs patchsys
    - Drop /etc/modprobe.d/radeon-kms.conf install.
  + debian/xserver-xorg-video-ati.{pre,post}inst.in:
    - Clean existing /etc/modprobe.d/radeon-kms.conf on install.
      At best this does nothing (KMS is the default for our kernel)
      and at worst it makes it harder to disable KMS.
* Add debian/gbp.conf pointing to Ubuntu branch to make git-buildpackage
  less narky.
* Drop 102-no-xv-rn50.patch and 103_new_pci_ids.patch from previous
  Ubuntu releases, they are upstream now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#ifdef XF86DRM_MODE
31
31
 
32
32
#include "xf86drmMode.h"
 
33
#ifdef HAVE_LIBUDEV
 
34
#include "libudev.h"
 
35
#endif
33
36
 
34
37
#include "radeon_probe.h"
35
38
 
40
43
  drmModeFBPtr mode_fb;
41
44
  int cpp;
42
45
  struct radeon_bo_manager *bufmgr;
 
46
  ScrnInfoPtr scrn;
 
47
#ifdef HAVE_LIBUDEV
 
48
  struct udev_monitor *uevent_monitor;
 
49
  InputHandlerProc uevent_handler;
 
50
#endif
 
51
  drmEventContext event_context;
 
52
  int flip_count;
43
53
} drmmode_rec, *drmmode_ptr;
44
54
 
45
55
typedef struct {
46
 
 
47
56
    drmmode_ptr drmmode;
48
57
    drmModeCrtcPtr mode_crtc;
 
58
    int hw_id;
49
59
    struct radeon_bo *cursor_bo;
50
60
    struct radeon_bo *rotate_bo;
51
61
    unsigned rotate_fb_id;
81
91
extern Bool drmmode_set_desired_modes(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
82
92
extern void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode);
83
93
extern Bool drmmode_setup_colormap(ScreenPtr pScreen, ScrnInfoPtr pScrn);
 
94
 
 
95
extern void drmmode_uevent_init(ScrnInfoPtr scrn, drmmode_ptr drmmode);
 
96
extern void drmmode_uevent_fini(ScrnInfoPtr scrn, drmmode_ptr drmmode);
 
97
 
84
98
#endif
85
99
 
86
100
#endif