Commit 67eda20e authored by Francisco Jerez's avatar Francisco Jerez Committed by Ben Skeggs

drm/nv04-nv3x: Implement init-compute-mem.

Init-compute-mem was the last piece missing for nv0x-nv3x card
cold-booting. This implementation is somewhat lacking but it's been
reported to work on most chipsets it was tested in. Let me know if it
breaks suspend to RAM for you.
Signed-off-by: default avatarFrancisco Jerez <currojerez@riseup.net>
Tested-by: default avatarPatrice Mandin <patmandin@gmail.com>
Tested-by: default avatarBen Skeggs <bskeggs@redhat.com>
Tested-by: default avatarXavier Chantry <chantry.xavier@gmail.com>
Tested-by: default avatarMarcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 3c7066bc
This diff is collapsed.
......@@ -251,8 +251,6 @@ struct nvbios {
struct {
int crtchead;
/* these need remembering across suspend */
uint32_t saved_nv_pfb_cfg0;
} state;
struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment