[Mesa-dev] [PATCH] swr: handle pci cap requests

Kyriazis, George george.kyriazis at intel.com
Tue Apr 12 18:28:39 UTC 2016


Reviewed-by: George Kyriazis <george.kyriazis at intel.com>

> -----Original Message-----
> From: mesa-dev [mailto:mesa-dev-bounces at lists.freedesktop.org] On Behalf
> Of Tim Rowley
> Sent: Friday, April 1, 2016 8:03 PM
> To: mesa-dev at lists.freedesktop.org
> Subject: [Mesa-dev] [PATCH] swr: handle pci cap requests
> 
> ---
>  src/gallium/drivers/swr/swr_screen.cpp | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/gallium/drivers/swr/swr_screen.cpp
> b/src/gallium/drivers/swr/swr_screen.cpp
> index f9e52be..4a4992f 100644
> --- a/src/gallium/drivers/swr/swr_screen.cpp
> +++ b/src/gallium/drivers/swr/swr_screen.cpp
> @@ -337,6 +337,10 @@ swr_get_param(struct pipe_screen *screen, enum
> pipe_cap param)
>     case PIPE_CAP_SURFACE_REINTERPRET_BLOCKS:
>     case PIPE_CAP_QUERY_BUFFER_OBJECT:
>     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;
>     }
> 
> --
> 1.9.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list