nvc0: use NV_VRAM_DOMAIN() macro
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 17 Oct 2014 06:05:32 +0000 (15:05 +0900)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 22 Jun 2015 05:00:02 +0000 (01:00 -0400)
commitda8300cb03e8cf1f37b5573a2db026fd28e0a3c5
treea2ca85f5e0ecde145c8f733295586d9b57f759a7
parentf22406837ff5dc881d8496d05ab001204b14eaf5
nvc0: use NV_VRAM_DOMAIN() macro

Use the newly-introduced NV_VRAM_DOMAIN() macro to support alternative
VRAM domains for chips that do not have dedicated video memory.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Martin Peres <martin.peres@free.fr>
src/gallium/drivers/nouveau/nouveau_buffer.c
src/gallium/drivers/nouveau/nv50/nv50_miptree.c
src/gallium/drivers/nouveau/nvc0/nvc0_compute.c
src/gallium/drivers/nouveau/nvc0/nvc0_context.c
src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c
src/gallium/drivers/nouveau/nvc0/nvc0_program.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c
src/gallium/drivers/nouveau/nvc0/nve4_compute.c