gma: Validate pipe configurations

Validate some properties of the pipe configuration before commit.
Currently checked:

  o No downscaling
  o Only 32bpp RGB
  o Stride must be a multiple of 64

Change-Id: Ibfc8617dbf433da33b1eb4012ecae08445600016
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/17260
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Martin Roth <martinroth@google.com>
1 file changed
tree: 3a6103ff9ed9d53d9c90c603a4c077c343ff1195
  1. common/
  2. configs/
  3. .gitignore
  4. COPYING
  5. Makefile
  6. Makefile.inc
  7. TODO