diff options
author | Marek Olšák <[email protected]> | 2016-02-29 20:22:37 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-03-09 15:02:28 +0100 |
commit | dcb2b7782317cf06c1c98472c9a34d2c9dfffae7 (patch) | |
tree | feeed918e14709eec1df62681559b81921f92b17 /src/gallium/drivers/virgl | |
parent | 737b6ed13e8f813987b5566004f0f45e9c55f1e8 (diff) |
gallium: add CAPs returning PCI device location
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_screen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index d3f4e259cad..8126bdec40c 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -235,6 +235,10 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_COPY_BETWEEN_COMPRESSED_AND_PLAIN_FORMATS: case PIPE_CAP_STRING_MARKER: case PIPE_CAP_QUERY_MEMORY_INFO: + case PIPE_CAP_PCI_GROUP: + case PIPE_CAP_PCI_BUS: + case PIPE_CAP_PCI_DEVICE: + case PIPE_CAP_PCI_FUNCTION: return 0; case PIPE_CAP_VENDOR_ID: return 0x1af4; |