Skip to content

Commit 69acb6b

Browse files
Thomas ZimmermannMaarten Lankhorst
authored andcommitted
drm/i915/display: Remove compile guard around fbdev debugfs output
If fbdev support has been disabled, no output will be shown. Remove the fbdev-related compile guard from the driver's debugfs code. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Maarten Lankhorst <[email protected]>
1 parent 9fa154f commit 69acb6b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/i915/display/intel_display_debugfs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ static int i915_gem_framebuffer_info(struct seq_file *m, void *data)
114114
struct intel_framebuffer *fbdev_fb = NULL;
115115
struct drm_framebuffer *drm_fb;
116116

117-
#ifdef CONFIG_DRM_FBDEV_EMULATION
118117
fbdev_fb = intel_fbdev_framebuffer(display->fbdev.fbdev);
119118
if (fbdev_fb) {
120119
seq_printf(m, "fbcon size: %d x %d, depth %d, %d bpp, modifier 0x%llx, refcount %d, obj ",
@@ -127,7 +126,6 @@ static int i915_gem_framebuffer_info(struct seq_file *m, void *data)
127126
intel_bo_describe(m, intel_fb_bo(&fbdev_fb->base));
128127
seq_putc(m, '\n');
129128
}
130-
#endif
131129

132130
mutex_lock(&display->drm->mode_config.fb_lock);
133131
drm_for_each_fb(drm_fb, display->drm) {

0 commit comments

Comments
 (0)