intel/isl: Fix isl_format_is_valid
The format enum space isn't necessarily contiguous so we can't assume that if it's in the table it's valid. We need to check something.
Fixes: ed6e5865 "intel: properly constify isl_format_layouts"
The format enum space isn't necessarily contiguous so we can't assume that if it's in the table it's valid. We need to check something.
Fixes: ed6e5865 "intel: properly constify isl_format_layouts"