mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 07:50:10 +01:00
radeon: make writeback work after suspend/resume.
While re-writing this for modesetting, I find we disable writeback on resume.
This commit is contained in:
parent
2b27804715
commit
cd7d71f19c
1 changed files with 3 additions and 3 deletions
|
|
@ -628,9 +628,6 @@ static void radeon_cp_init_ring_buffer(struct drm_device * dev,
|
|||
dev_priv->ring.size_l2qw);
|
||||
#endif
|
||||
|
||||
/* Start with assuming that writeback doesn't work */
|
||||
dev_priv->writeback_works = 0;
|
||||
|
||||
/* Initialize the scratch register pointer. This will cause
|
||||
* the scratch register values to be written out to memory
|
||||
* whenever they are updated.
|
||||
|
|
@ -1187,6 +1184,9 @@ static int radeon_do_init_cp(struct drm_device * dev, drm_radeon_init_t * init)
|
|||
radeon_set_pcigart(dev_priv, 1);
|
||||
}
|
||||
|
||||
/* Start with assuming that writeback doesn't work */
|
||||
dev_priv->writeback_works = 0;
|
||||
|
||||
radeon_cp_load_microcode(dev_priv);
|
||||
radeon_cp_init_ring_buffer(dev, dev_priv);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue