Searched refs:ramht (Results 1 – 10 of 10) sorted by relevance
/linux-3.4.99/drivers/gpu/drm/nouveau/ |
D | nouveau_ramht.c | 35 struct nouveau_ramht *ramht = chan->ramht; in nouveau_ramht_hash_handle() local 41 for (i = 32; i > 0; i -= ramht->bits) { in nouveau_ramht_hash_handle() 42 hash ^= (handle & ((1 << ramht->bits) - 1)); in nouveau_ramht_hash_handle() 43 handle >>= ramht->bits; in nouveau_ramht_hash_handle() 47 hash ^= chan->id << (ramht->bits - 4); in nouveau_ramht_hash_handle() 55 nouveau_ramht_entry_valid(struct drm_device *dev, struct nouveau_gpuobj *ramht, in nouveau_ramht_entry_valid() argument 59 u32 ctx = nv_ro32(ramht, offset + 4); in nouveau_ramht_entry_valid() 68 struct nouveau_gpuobj *ramht, u32 offset) in nouveau_ramht_entry_same_channel() argument 71 u32 ctx = nv_ro32(ramht, offset + 4); in nouveau_ramht_entry_same_channel() 91 struct nouveau_gpuobj *ramht = chan->ramht->gpuobj; in nouveau_ramht_insert() local [all …]
|
D | nv04_instmem.c | 24 struct nouveau_gpuobj *ramht = NULL; in nv04_instmem_init() local 58 NVOBJ_FLAG_ZERO_ALLOC, &ramht); in nv04_instmem_init() 62 ret = nouveau_ramht_new(dev, ramht, &dev_priv->ramht); in nv04_instmem_init() 63 nouveau_gpuobj_ref(NULL, &ramht); in nv04_instmem_init() 120 nouveau_ramht_ref(NULL, &dev_priv->ramht, NULL); in nv04_instmem_takedown()
|
D | nv50_evo.c | 41 nouveau_ramht_ref(NULL, &evo->ramht, evo); in nv50_evo_channel_del() 147 nouveau_ramht_ref(disp->master->ramht, &evo->ramht, NULL); in nv50_evo_channel_new() 243 struct nouveau_gpuobj *ramht = NULL; in nv50_evo_create() local 272 ret = nouveau_gpuobj_new(dev, evo, 4096, 16, 0, &ramht); in nv50_evo_create() 278 ret = nouveau_ramht_new(dev, ramht, &evo->ramht); in nv50_evo_create() 279 nouveau_gpuobj_ref(NULL, &ramht); in nv50_evo_create()
|
D | nouveau_object.c | 785 nouveau_ramht_ref(dev_priv->ramht, &chan->ramht, NULL); in nouveau_gpuobj_channel_init() 787 struct nouveau_gpuobj *ramht = NULL; in nouveau_gpuobj_channel_init() local 790 NVOBJ_FLAG_ZERO_ALLOC, &ramht); in nouveau_gpuobj_channel_init() 794 ret = nouveau_ramht_new(dev, ramht, &chan->ramht); in nouveau_gpuobj_channel_init() 795 nouveau_gpuobj_ref(NULL, &ramht); in nouveau_gpuobj_channel_init()
|
D | nv10_fifo.c | 200 ((dev_priv->ramht->bits - 9) << 16) | in nv10_fifo_init_ramxx() 201 (dev_priv->ramht->gpuobj->pinst >> 8)); in nv10_fifo_init_ramxx()
|
D | nv40_fifo.c | 239 ((dev_priv->ramht->bits - 9) << 16) | in nv40_fifo_init_ramxx() 240 (dev_priv->ramht->gpuobj->pinst >> 8)); in nv40_fifo_init_ramxx()
|
D | nv04_fifo.c | 288 ((dev_priv->ramht->bits - 9) << 16) | in nv04_fifo_init_ramxx() 289 (dev_priv->ramht->gpuobj->pinst >> 8)); in nv04_fifo_init_ramxx()
|
D | nv50_fifo.c | 275 nv_wo32(ramfc, 0x80, ((chan->ramht->bits - 9) << 27) | in nv50_fifo_create_context() 277 (chan->ramht->gpuobj->cinst >> 4)); in nv50_fifo_create_context()
|
D | nouveau_channel.c | 321 nouveau_ramht_ref(NULL, &chan->ramht, chan); in nouveau_channel_put_unlocked()
|
D | nouveau_drv.h | 273 struct nouveau_ramht *ramht; /* Hash table */ member 766 struct nouveau_ramht *ramht; member
|