mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-01 12:48:01 +02:00
drm/nouveau: store vram/gart object handles for each channel
This commit is contained in:
parent
417c2c411f
commit
933995b1da
2 changed files with 2 additions and 1 deletions
|
|
@ -293,6 +293,8 @@ nouveau_fifo_alloc(struct drm_device *dev, struct nouveau_channel **chan_ret,
|
|||
chan->id = channel;
|
||||
chan->file_priv = file_priv;
|
||||
chan->pushbuf_mem = pushbuf;
|
||||
chan->vram_handle = vram_handle;
|
||||
chan->gart_handle = tt_handle;
|
||||
|
||||
DRM_INFO("Allocating FIFO number %d\n", channel);
|
||||
|
||||
|
|
|
|||
|
|
@ -161,7 +161,6 @@ nv50_graph_create_context(struct nouveau_channel *chan)
|
|||
struct drm_nouveau_private *dev_priv = dev->dev_private;
|
||||
struct nouveau_gpuobj *ramin = chan->ramin->gpuobj;
|
||||
struct nouveau_gpuobj *ctx;
|
||||
struct nouveau_engine *engine = &dev_priv->Engine;
|
||||
uint32_t *ctxvals = NULL;
|
||||
int grctx_size = 0x70000, hdr;
|
||||
int ret, pos;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue