From: Patrik Jakobsson Date: Wed, 10 Jul 2013 16:02:04 +0000 (+0200) Subject: drm/gma500: Add IS_CDV() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b8e5ec9f306744e19357580a3cf47452fe64b27a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/gma500: Add IS_CDV() macro This macro is needed for Cedarview specific stuff in the generic gma functions. Signed-off-by: Patrik Jakobsson --- diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h index eeed88c3c37e..ed1e567b7e3b 100644 --- a/drivers/gpu/drm/gma500/psb_drv.h +++ b/drivers/gpu/drm/gma500/psb_drv.h @@ -47,6 +47,7 @@ enum { #define IS_PSB(dev) (((dev)->pci_device & 0xfffe) == 0x8108) #define IS_MRST(dev) (((dev)->pci_device & 0xfffc) == 0x4100) #define IS_MFLD(dev) (((dev)->pci_device & 0xfff8) == 0x0130) +#define IS_CDV(dev) (((dev)->pci_device & 0xfff0) == 0x0be0) /* * Driver definitions