aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_fbcon.c
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2010-09-26 07:47:24 -0400
committerDave Airlie <airlied@redhat.com>2010-10-05 21:50:21 -0400
commitbe64c2bb4731b0e6223a496eed615b816ac879ec (patch)
tree1c2723d354e47167aa3b59d01c011efec9acdb6e /drivers/gpu/drm/nouveau/nouveau_fbcon.c
parent4dd19b0dd79c2bfe04a7a19bea0caf9284695cb4 (diff)
drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.
Tested on nv50 and nv04 HW. Signed-off-by: Chris Ball <cjb@laptop.org> Signed-off-by: Jason Wessel <jason.wessel@windriver.com> CC: Jesse Barnes <jbarnes@virtuousgeek.org> CC: dri-devel@lists.freedesktop.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fbcon.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_fbcon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c b/drivers/gpu/drm/nouveau/nouveau_fbcon.c
index d2047713dc59..c5afd146aeb2 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c
+++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c
@@ -104,6 +104,8 @@ static struct fb_ops nouveau_fbcon_ops = {
104 .fb_pan_display = drm_fb_helper_pan_display, 104 .fb_pan_display = drm_fb_helper_pan_display,
105 .fb_blank = drm_fb_helper_blank, 105 .fb_blank = drm_fb_helper_blank,
106 .fb_setcmap = drm_fb_helper_setcmap, 106 .fb_setcmap = drm_fb_helper_setcmap,
107 .fb_debug_enter = drm_fb_helper_debug_enter,
108 .fb_debug_leave = drm_fb_helper_debug_leave,
107}; 109};
108 110
109static struct fb_ops nv04_fbcon_ops = { 111static struct fb_ops nv04_fbcon_ops = {
@@ -117,6 +119,8 @@ static struct fb_ops nv04_fbcon_ops = {
117 .fb_pan_display = drm_fb_helper_pan_display, 119 .fb_pan_display = drm_fb_helper_pan_display,
118 .fb_blank = drm_fb_helper_blank, 120 .fb_blank = drm_fb_helper_blank,
119 .fb_setcmap = drm_fb_helper_setcmap, 121 .fb_setcmap = drm_fb_helper_setcmap,
122 .fb_debug_enter = drm_fb_helper_debug_enter,
123 .fb_debug_leave = drm_fb_helper_debug_leave,
120}; 124};
121 125
122static struct fb_ops nv50_fbcon_ops = { 126static struct fb_ops nv50_fbcon_ops = {
@@ -130,6 +134,8 @@ static struct fb_ops nv50_fbcon_ops = {
130 .fb_pan_display = drm_fb_helper_pan_display, 134 .fb_pan_display = drm_fb_helper_pan_display,
131 .fb_blank = drm_fb_helper_blank, 135 .fb_blank = drm_fb_helper_blank,
132 .fb_setcmap = drm_fb_helper_setcmap, 136 .fb_setcmap = drm_fb_helper_setcmap,
137 .fb_debug_enter = drm_fb_helper_debug_enter,
138 .fb_debug_leave = drm_fb_helper_debug_leave,
133}; 139};
134 140
135static void nouveau_fbcon_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, 141static void nouveau_fbcon_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,