diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-03-15 10:09:54 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-03-22 03:17:30 -0400 |
commit | b5b2e5988bd18a2f6e3f192adf7439599de00d3f (patch) | |
tree | 802c2ff81977b982c1ec0ca0f5dc8ae67b98a469 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | accf94969f226ddfe7dd3a6a76ce093ace839b26 (diff) |
drm/nouveau: remove subchannel names from places where it doesn't matter
These are FIFO methods, it doesn't matter what subchannel is being used.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 0df21752d274..eaf9872f9ee2 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -1763,13 +1763,26 @@ nv44_graph_class(struct drm_device *dev) | |||
1763 | #define NV_MEM_TYPE_VM 0x7f | 1763 | #define NV_MEM_TYPE_VM 0x7f |
1764 | #define NV_MEM_COMP_VM 0x03 | 1764 | #define NV_MEM_COMP_VM 0x03 |
1765 | 1765 | ||
1766 | /* FIFO methods */ | ||
1767 | #define NV01_SUBCHAN_OBJECT 0x00000000 | ||
1768 | #define NV84_SUBCHAN_SEMAPHORE_ADDRESS_HIGH 0x00000010 | ||
1769 | #define NV84_SUBCHAN_SEMAPHORE_ADDRESS_LOW 0x00000014 | ||
1770 | #define NV84_SUBCHAN_SEMAPHORE_SEQUENCE 0x00000018 | ||
1771 | #define NV84_SUBCHAN_SEMAPHORE_TRIGGER 0x0000001c | ||
1772 | #define NV84_SUBCHAN_SEMAPHORE_TRIGGER_ACQUIRE_EQUAL 0x00000001 | ||
1773 | #define NV84_SUBCHAN_SEMAPHORE_TRIGGER_WRITE_LONG 0x00000002 | ||
1774 | #define NV84_SUBCHAN_SEMAPHORE_TRIGGER_ACQUIRE_GEQUAL 0x00000004 | ||
1775 | #define NV84_SUBCHAN_NOTIFY_INTR 0x00000020 | ||
1776 | #define NV84_SUBCHAN_WRCACHE_FLUSH 0x00000024 | ||
1777 | #define NV10_SUBCHAN_REF_CNT 0x00000050 | ||
1778 | #define NV11_SUBCHAN_DMA_SEMAPHORE 0x00000060 | ||
1779 | #define NV11_SUBCHAN_SEMAPHORE_OFFSET 0x00000064 | ||
1780 | #define NV11_SUBCHAN_SEMAPHORE_ACQUIRE 0x00000068 | ||
1781 | #define NV11_SUBCHAN_SEMAPHORE_RELEASE 0x0000006c | ||
1782 | #define NV40_SUBCHAN_YIELD 0x00000080 | ||
1783 | |||
1766 | /* NV_SW object class */ | 1784 | /* NV_SW object class */ |
1767 | #define NV_SW 0x0000506e | 1785 | #define NV_SW 0x0000506e |
1768 | #define NV_SW_DMA_SEMAPHORE 0x00000060 | ||
1769 | #define NV_SW_SEMAPHORE_OFFSET 0x00000064 | ||
1770 | #define NV_SW_SEMAPHORE_ACQUIRE 0x00000068 | ||
1771 | #define NV_SW_SEMAPHORE_RELEASE 0x0000006c | ||
1772 | #define NV_SW_YIELD 0x00000080 | ||
1773 | #define NV_SW_DMA_VBLSEM 0x0000018c | 1786 | #define NV_SW_DMA_VBLSEM 0x0000018c |
1774 | #define NV_SW_VBLSEM_OFFSET 0x00000400 | 1787 | #define NV_SW_VBLSEM_OFFSET 0x00000400 |
1775 | #define NV_SW_VBLSEM_RELEASE_VALUE 0x00000404 | 1788 | #define NV_SW_VBLSEM_RELEASE_VALUE 0x00000404 |