aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/psb_drv.h
diff options
context:
space:
mode:
authorArthur Borsboom <arthurborsboom@gmail.com>2014-03-15 17:12:17 -0400
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2014-03-17 15:14:08 -0400
commitf90cd811ae7a348a629a770acf975b14ea5f1329 (patch)
tree871b82ed73182fb14fc32d92c7e7e09abd42b376 /drivers/gpu/drm/gma500/psb_drv.h
parentaf3765c764ec1b3ce532d412be8843581bb94338 (diff)
drm/gma500: Code cleanup - style fixes
Code cleanup by following i915 constant/variable names and ordering Code cleanup by following directions from kernel doc: Codingstyle Code cleanup by following directions from kernel doc: DRM Signed-off-by: Arthur Borsboom <arthurborsboom@gmail.com> Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_drv.h')
-rw-r--r--drivers/gpu/drm/gma500/psb_drv.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h
index d5421c072b6b..6f99be47b4f5 100644
--- a/drivers/gpu/drm/gma500/psb_drv.h
+++ b/drivers/gpu/drm/gma500/psb_drv.h
@@ -35,6 +35,17 @@
35#include "oaktrail.h" 35#include "oaktrail.h"
36#include "mmu.h" 36#include "mmu.h"
37 37
38#define DRIVER_AUTHOR "Alan Cox <alan@linux.intel.com> and others"
39#define DRIVER_LICENSE "GPL"
40
41#define DRIVER_NAME "gma500"
42#define DRIVER_DESC "DRM driver for the Intel GMA500, GMA600, GMA3600, GMA3650"
43#define DRIVER_DATE "20140314"
44
45#define DRIVER_MAJOR 1
46#define DRIVER_MINOR 0
47#define DRIVER_PATCHLEVEL 0
48
38/* Append new drm mode definition here, align with libdrm definition */ 49/* Append new drm mode definition here, align with libdrm definition */
39#define DRM_MODE_SCALE_NO_SCALE 2 50#define DRM_MODE_SCALE_NO_SCALE 2
40 51
@@ -50,17 +61,6 @@ enum {
50#define IS_MFLD(dev) (((dev)->pdev->device & 0xfff8) == 0x0130) 61#define IS_MFLD(dev) (((dev)->pdev->device & 0xfff8) == 0x0130)
51#define IS_CDV(dev) (((dev)->pdev->device & 0xfff0) == 0x0be0) 62#define IS_CDV(dev) (((dev)->pdev->device & 0xfff0) == 0x0be0)
52 63
53/*
54 * Driver definitions
55 */
56
57#define DRIVER_NAME "gma500"
58#define DRIVER_DESC "DRM driver for the Intel GMA500"
59
60#define PSB_DRM_DRIVER_DATE "2011-06-06"
61#define PSB_DRM_DRIVER_MAJOR 1
62#define PSB_DRM_DRIVER_MINOR 0
63#define PSB_DRM_DRIVER_PATCHLEVEL 0
64 64
65/* 65/*
66 * Hardware offsets 66 * Hardware offsets