diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-01-08 10:57:39 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-01-11 09:06:45 +1000 |
commit | 75c99da6cdd0ec9d70747f9ced3e85b2dd955cdf (patch) | |
tree | b101655b451d441ca84c9be92e020f761c1c977d /drivers/gpu/drm/nouveau/nouveau_channel.c | |
parent | dff36321497b1130085820c81a44779b065c8d7e (diff) | |
download | lwn-75c99da6cdd0ec9d70747f9ced3e85b2dd955cdf.tar.gz lwn-75c99da6cdd0ec9d70747f9ced3e85b2dd955cdf.zip |
drm/nouveau: initialise DMA tracking parameters earlier
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_channel.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_channel.c b/drivers/gpu/drm/nouveau/nouveau_channel.c index d1c7f8c911c7..343d718a9667 100644 --- a/drivers/gpu/drm/nouveau/nouveau_channel.c +++ b/drivers/gpu/drm/nouveau/nouveau_channel.c @@ -158,6 +158,8 @@ nouveau_channel_alloc(struct drm_device *dev, struct nouveau_channel **chan_ret, return ret; } + nouveau_dma_pre_init(chan); + /* Locate channel's user control regs */ if (dev_priv->card_type < NV_40) user = NV03_USER(channel); |