]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/nvc0/copy: check PUNITS to determine which copy engines are disabled
authorBen Skeggs <bskeggs@redhat.com>
Mon, 27 Aug 2012 06:22:49 +0000 (16:22 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:41 +0000 (10:39 -0700)
commitdf6a5ea44759e88b7c025704cd9cb6a6e64188a4
tree39a98ab3d0bbec313baff52fa80f7cda12b72bb9
parent01949a3b2bdbccdeee3e35f047c15eac76e2c940
drm/nvc0/copy: check PUNITS to determine which copy engines are disabled

commit 14f0458a41e033dee31ba605137419385c03fc78 upstream.

On some Fermi chipsets (NVCE particularly) PCOPY1 doesn't exist.  And if
what I've seen on Kepler is true of Fermi too, chipsets of the same type
can have different PCOPY units available.

This should fix a v3.5 regression reported by a number of people effecting
suspend/resume on NVC8/NVCE chipsets.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nouveau_state.c