summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-15 19:38:45 +0100
committerDave Airlie <airlied@redhat.com>2012-06-15 19:42:05 +0100
commitcb97e75acab84b67b7b7358860788638efc9b344 (patch)
tree866dfa78736e791744d42a656c84ad6f556a2afc /src/radeon.h
parent81593e7deb688fa3108a0589c1418459ec0df4de (diff)
radeon: more unused stuff
Remove all CurrentLayout stuff. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/radeon.h b/src/radeon.h
index b7d67de6..fca4078a 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -179,16 +179,6 @@ typedef enum {
#define RADEON_ALIGN(x,bytes) (((x) + ((bytes) - 1)) & ~((bytes) - 1))
#define RADEONPTR(pScrn) ((RADEONInfoPtr)(pScrn)->driverPrivate)
-typedef struct {
- int bitsPerPixel;
- int depth;
- int displayWidth;
- int displayHeight;
- int pixel_code;
- int pixel_bytes;
- DisplayModePtr mode;
-} RADEONFBLayout;
-
#define IS_RV100_VARIANT ((info->ChipFamily == CHIP_FAMILY_RV100) || \
(info->ChipFamily == CHIP_FAMILY_RV200) || \
(info->ChipFamily == CHIP_FAMILY_RS100) || \
@@ -309,10 +299,6 @@ struct radeon_vbo_object {
};
struct radeon_accel_state {
- /* common accel data */
- /* Computed values for Radeon */
- uint32_t dp_gui_master_cntl;
- uint32_t dp_gui_master_cntl_clip;
/* Saved values for ScreenToScreenCopy */
int xdir;
@@ -425,8 +411,6 @@ typedef struct {
int Chipset;
RADEONChipFamily ChipFamily;
- Bool IsIGP; /* IGP chips */
-
Bool (*CloseScreen)(CLOSE_SCREEN_ARGS_DECL);
void (*BlockHandler)(BLOCKHANDLER_ARGS_DECL);
@@ -434,7 +418,7 @@ typedef struct {
int pix24bpp; /* Depth of pixmap for 24bpp fb */
Bool dac6bits; /* Use 6 bit DAC? */
- RADEONFBLayout CurrentLayout;
+ int pixel_bytes;
Bool directRenderingEnabled;
struct radeon_dri2 dri2;