]> 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)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 29 Aug 2012 03:21:41 +0000 (13:21 +1000)
commit14f0458a41e033dee31ba605137419385c03fc78
treeb6f7888ff5f143bd88d05126a7f60271888550c7
parent2064db725cc6d4ea19a24c138bc37939b63e3ae6
drm/nvc0/copy: check PUNITS to determine which copy engines are disabled

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.

Cc: stable@vger.kernel.org [3.5]
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c