summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-05-30 15:32:58 +1000
committerDave Airlie <airlied@redhat.com>2008-05-30 15:32:58 +1000
commit5d47185eb69d73dd7e6ee3ddde4d0c7642c2d5b7 (patch)
treee805ab001b7b54426c2a7da6f6a5a9aa211c8c8a /libdrm
parent30fc88fdf9084ffcb9e76acbdee95d9691ac4ba4 (diff)
drm: switch possible crtc/clones over to encoders
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drmMode.c8
-rw-r--r--libdrm/xf86drmMode.h6
2 files changed, 0 insertions, 14 deletions
diff --git a/libdrm/xf86drmMode.c b/libdrm/xf86drmMode.c
index a18c4290..8b7f2bcf 100644
--- a/libdrm/xf86drmMode.c
+++ b/libdrm/xf86drmMode.c
@@ -381,10 +381,6 @@ drmModeConnectorPtr drmModeGetConnector(int fd, uint32_t connector_id)
conn.connector = connector_id;
conn.connector_type_id = 0;
conn.connector_type = 0;
- conn.count_crtcs = 0;
- conn.crtcs = 0;
- conn.count_clones = 0;
- conn.clones = 0;
conn.count_modes = 0;
conn.modes_ptr = 0;
conn.count_props = 0;
@@ -420,12 +416,8 @@ drmModeConnectorPtr drmModeGetConnector(int fd, uint32_t connector_id)
r->mmWidth = conn.mm_width;
r->mmHeight = conn.mm_height;
r->subpixel = conn.subpixel;
- r->count_crtcs = conn.count_crtcs;
- r->count_clones = conn.count_clones;
r->count_modes = conn.count_modes;
/* TODO we should test if these alloc & cpy fails. */
- r->crtcs = conn.crtcs;
- r->clones = conn.clones;
r->count_props = conn.count_props;
r->props = drmAllocCpy(U642VOID(conn.props_ptr), conn.count_props, sizeof(uint32_t));
r->prop_values = drmAllocCpy(U642VOID(conn.prop_values_ptr), conn.count_props, sizeof(uint64_t));
diff --git a/libdrm/xf86drmMode.h b/libdrm/xf86drmMode.h
index 03268b10..ceaa9abc 100644
--- a/libdrm/xf86drmMode.h
+++ b/libdrm/xf86drmMode.h
@@ -141,12 +141,6 @@ typedef struct _drmModeConnector {
uint32_t mmWidth, mmHeight; /**< HxW in millimeters */
drmModeSubPixel subpixel;
- int count_crtcs;
- uint32_t crtcs; /**< Possible crtc to connect to */
-
- int count_clones;
- uint32_t clones; /**< Mask of clones */
-
int count_modes;
struct drm_mode_modeinfo *modes;