commit | 550e2d9270e2f0a10c3b063899f70e4cca25fe72 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Wed Dec 09 14:15:38 2009 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Thu Dec 10 15:25:45 2009 +1000 |
tree | 46878bc39515eae9ee1485ce046e16e8e47fda90 | |
parent | 779720a3209849be202ac36a811e934865c50971 [diff] |
drm/radeon/kms: restore surface registers on resume. On resume on my rv530 laptop surface cntl was left disabled, so wierd stuff would happen with rendering to a tiled front buffer. This checks if the surface regs are assigned to bos and reprograms the surface registers on resume using the same path that clears them all on init. Signed-off-by: Dave Airlie <airlied@redhat.com>