From dc2701a9f6034a04319f71e43e7f928f818be6db Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Fri, 23 Jun 2000 17:14:20 +0000 Subject: Update register definitions to match r128_reg.h --- linux/r128_dma.c | 2 +- linux/r128_drv.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'linux') diff --git a/linux/r128_dma.c b/linux/r128_dma.c index 775a8088..16f79c1f 100644 --- a/linux/r128_dma.c +++ b/linux/r128_dma.c @@ -295,7 +295,7 @@ int r128_do_engine_reset(drm_device_t *dev) mclk_cntl = R128_READ_PLL(dev, R128_MCLK_CNTL); R128_WRITE_PLL(R128_MCLK_CNTL, - mclk_cntl | R128_FORCE_GCP | R128_FORCE_PIPE3D_CPP); + mclk_cntl | R128_FORCE_GCP | R128_FORCE_PIPE3D_CP); gen_reset_cntl = R128_READ(R128_GEN_RESET_CNTL); diff --git a/linux/r128_drv.h b/linux/r128_drv.h index b0ee6dc6..81390bb8 100644 --- a/linux/r128_drv.h +++ b/linux/r128_drv.h @@ -136,7 +136,8 @@ extern int r128_context_switch_complete(drm_device_t *dev, int new); #define R128_MCLK_CNTL 0x000f # define R128_FORCE_GCP (1 << 16) -# define R128_FORCE_PIPE3D_CPP (1 << 17) +# define R128_FORCE_PIPE3D_CP (1 << 17) +# define R128_FORCE_RCP (1 << 18) #define R128_GEN_RESET_CNTL 0x00f0 # define R128_SOFT_RESET_GUI (1 << 0) -- cgit v1.2.3