[PATCH v2 3/4] drm/mgag200: Extract device type and flags in mgag200_pci_probe()