i915: prevent pre-gen9 from using tile modifiers with AR24

Prior to gen 9, the kernel rejects creating framebuffers with the AR24
format and a tiling modifier, so detect that case and force the modifier
to linear.

This change also adds device IDs for all gens (sourced from mesa's
i965_pci_ids.h and iris_pci_ids.h) so that the chip's gen can be
accurately identified.

BUG=chromium:1258105
TEST=Boot on devices with gen7, gen8, and gen9 Intel GPUs, verify UI comes up

Change-Id: Ifbead029e8753fec9ade3998d9564a98757a76aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3251935
Reviewed-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Dominik Behr <dbehr@chromium.org>
Tested-by: Nicholas Bishop <nicholasbishop@google.com>
Commit-Queue: Nicholas Bishop <nicholasbishop@google.com>
1 file changed