diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-08 11:44:49 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-11 17:37:33 -0400 |
commit | 0632fef669912a63c99c8ce4c2ca10c6ea04f0df (patch) | |
tree | cf2cf2dcf9409f2c8244a5abe4f5c02b8f8655c5 /drivers/gpu/drm/i915/intel_drv.h | |
parent | 4520f53a159fb81b8c27afe52428a0959aff259c (diff) |
drm/i915: rename intel_fb.c to intel_fbdev.c
This file is all about the legacy fbdev support. If we want to extract
framebuffer functions, we better put those into a separate file.
Also rename functions accordingly, only two have used the intel_fb_
prefix anyway.
Reviewed-by: Chon Ming Lee <chon.ming.lee@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 0f8402bc4222..189257df7a0f 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -713,14 +713,14 @@ bool intel_dsi_init(struct drm_device *dev); | |||
713 | void intel_dvo_init(struct drm_device *dev); | 713 | void intel_dvo_init(struct drm_device *dev); |
714 | 714 | ||
715 | 715 | ||
716 | /* legacy fbdev emulation in intel_fb.c */ | 716 | /* legacy fbdev emulation in intel_fbdev.c */ |
717 | #ifdef CONFIG_DRM_I915_FBDEV | 717 | #ifdef CONFIG_DRM_I915_FBDEV |
718 | extern int intel_fbdev_init(struct drm_device *dev); | 718 | extern int intel_fbdev_init(struct drm_device *dev); |
719 | extern void intel_fbdev_initial_config(struct drm_device *dev); | 719 | extern void intel_fbdev_initial_config(struct drm_device *dev); |
720 | extern void intel_fbdev_fini(struct drm_device *dev); | 720 | extern void intel_fbdev_fini(struct drm_device *dev); |
721 | extern void intel_fbdev_set_suspend(struct drm_device *dev, int state); | 721 | extern void intel_fbdev_set_suspend(struct drm_device *dev, int state); |
722 | extern void intel_fb_output_poll_changed(struct drm_device *dev); | 722 | extern void intel_fbdev_output_poll_changed(struct drm_device *dev); |
723 | extern void intel_fb_restore_mode(struct drm_device *dev); | 723 | extern void intel_fbdev_restore_mode(struct drm_device *dev); |
724 | #else | 724 | #else |
725 | static inline int intel_fbdev_init(struct drm_device *dev) | 725 | static inline int intel_fbdev_init(struct drm_device *dev) |
726 | { | 726 | { |
@@ -739,7 +739,7 @@ static inline void intel_fbdev_set_suspend(struct drm_device *dev, int state) | |||
739 | { | 739 | { |
740 | } | 740 | } |
741 | 741 | ||
742 | static inline void intel_fb_restore_mode(struct drm_device *dev) | 742 | static inline void intel_fbdev_restore_mode(struct drm_device *dev) |
743 | { | 743 | { |
744 | } | 744 | } |
745 | #endif | 745 | #endif |