diff options
author | Dave Airlie <airlied@redhat.com> | 2009-03-13 12:56:29 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-13 13:01:30 +1000 |
commit | f70d7a0fd9ac3659d93511ab362eb80a7ff49777 (patch) | |
tree | b4b1eb78521aeb960c2e5866984a05519b36ce3b /src/radeon_driver.c | |
parent | 1fe0dcfe98dfe30499ba53c1f208c4ef10bef001 (diff) |
r600: reload shaders into VRAM on resume
As VRAM gets zeroed out over s/r, we need to reload the
shaders.
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 2456dc58..c0f5e7bf 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -5663,6 +5663,8 @@ Bool RADEONEnterVT(int scrnIndex, int flags) #ifdef XF86DRI if (info->directRenderingEnabled) { + if (info->ChipFamily >= CHIP_FAMILY_R600) + R600LoadShaders(pScrn); RADEONCP_START(pScrn, info); DRIUnlock(pScrn->pScreen); } |