panfrost: Support planar formats
Add support for PIPE_RESOURCE_PARAM_NPLANES by counting the planes in a resource, and allow finding the correct plane in panfrost_resource_get_handle().
Signed-off-by: Derek Foreman derek.foreman@collabora.com
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Add support for PIPE_RESOURCE_PARAM_NPLANES by counting the planes in a resource, and allow finding the correct plane in panfrost_resource_get_handle().
Signed-off-by: Derek Foreman derek.foreman@collabora.com