diff options
author | Eric Anholt <eric@anholt.net> | 2009-10-06 18:02:38 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-08 15:34:09 -0700 |
commit | cc5d3ba3c331c3b1becf2d19277b24144bf34cfa (patch) | |
tree | 7c202c42fc4915c806086de18db4a76b9003ed5c /src/common.h | |
parent | 03e8e64f8669263e3cecb79ea57d5a26c0eaee3f (diff) |
Rename the screen private from I830Ptr pI830 to intel_screen_private *intel.
This is the beginning of the campaign to remove some of the absurd use of
Hungarian in the driver. Not that I don't like Hungarian, but I don't need
to know that pI830 is a pPointer.
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index e509a715..505fcb2b 100644 --- a/src/common.h +++ b/src/common.h @@ -89,7 +89,7 @@ extern void I830DPRINTF_stub(const char *filename, int line, #ifdef _I830_H_ #define PrintErrorState i830_dump_error_state #define WaitRingFunc I830WaitLpRing -#define RecPtr pI830 +#define RecPtr intel #else #define PrintErrorState I810PrintErrorState #define WaitRingFunc I810WaitLpRing @@ -373,7 +373,7 @@ extern int I810_DEBUG; /* dsparb controlled by hw only */ #define DSPARB_HWCONTROL(pI810) (IS_G4X(pI810) || IS_IGDNG(pI810)) /* supports Y tiled surfaces (pre-965 Mesa isn't ready yet) */ -#define SUPPORTS_YTILING(pI810) (IS_I965G(pI830)) +#define SUPPORTS_YTILING(pI810) (IS_I965G(intel)) #define GTT_PAGE_SIZE KB(4) #define ROUND_TO(x, y) (((x) + (y) - 1) / (y) * (y)) |