iris: Don't mark protected bo as reusable
The check in alloc_bo_from_cache() was skiping any try to get a bo from cache but after use a protect bo was still being put in some cache bucket and could be used for cases that don't require a protected bo.
Using a protected bo in cases that don't require it can have performance implications.
So here returning NULL when trying to get a cache bucket for a protected bo, this will cause bo->real.reusable to be set to fall avoiding the bo to be reused.
Fixes: 9402ac80 ("iris: handle protected BO creation") Signed-off-by: José Roberto de Souza jose.souza@intel.com