drm/i915: s/drm_i915_private_t/struct drm_i915_private/
People don't like typedefs these days. Eliminate their use from intel_fb.c. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
3430824b4b
commit
b51b32cde1
@ -218,7 +218,7 @@ static void intel_fbdev_destroy(struct drm_device *dev,
|
|||||||
int intel_fbdev_init(struct drm_device *dev)
|
int intel_fbdev_init(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
struct intel_fbdev *ifbdev;
|
struct intel_fbdev *ifbdev;
|
||||||
drm_i915_private_t *dev_priv = dev->dev_private;
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ifbdev = kzalloc(sizeof(struct intel_fbdev), GFP_KERNEL);
|
ifbdev = kzalloc(sizeof(struct intel_fbdev), GFP_KERNEL);
|
||||||
@ -243,7 +243,7 @@ int intel_fbdev_init(struct drm_device *dev)
|
|||||||
|
|
||||||
void intel_fbdev_initial_config(struct drm_device *dev)
|
void intel_fbdev_initial_config(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
drm_i915_private_t *dev_priv = dev->dev_private;
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
||||||
|
|
||||||
/* Due to peculiar init order wrt to hpd handling this is separate. */
|
/* Due to peculiar init order wrt to hpd handling this is separate. */
|
||||||
drm_fb_helper_initial_config(&dev_priv->fbdev->helper, 32);
|
drm_fb_helper_initial_config(&dev_priv->fbdev->helper, 32);
|
||||||
@ -251,7 +251,7 @@ void intel_fbdev_initial_config(struct drm_device *dev)
|
|||||||
|
|
||||||
void intel_fbdev_fini(struct drm_device *dev)
|
void intel_fbdev_fini(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
drm_i915_private_t *dev_priv = dev->dev_private;
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
||||||
if (!dev_priv->fbdev)
|
if (!dev_priv->fbdev)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -262,7 +262,7 @@ void intel_fbdev_fini(struct drm_device *dev)
|
|||||||
|
|
||||||
void intel_fbdev_set_suspend(struct drm_device *dev, int state)
|
void intel_fbdev_set_suspend(struct drm_device *dev, int state)
|
||||||
{
|
{
|
||||||
drm_i915_private_t *dev_priv = dev->dev_private;
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
||||||
struct intel_fbdev *ifbdev = dev_priv->fbdev;
|
struct intel_fbdev *ifbdev = dev_priv->fbdev;
|
||||||
struct fb_info *info;
|
struct fb_info *info;
|
||||||
|
|
||||||
@ -285,14 +285,14 @@ MODULE_LICENSE("GPL and additional rights");
|
|||||||
|
|
||||||
void intel_fb_output_poll_changed(struct drm_device *dev)
|
void intel_fb_output_poll_changed(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
drm_i915_private_t *dev_priv = dev->dev_private;
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
||||||
drm_fb_helper_hotplug_event(&dev_priv->fbdev->helper);
|
drm_fb_helper_hotplug_event(&dev_priv->fbdev->helper);
|
||||||
}
|
}
|
||||||
|
|
||||||
void intel_fb_restore_mode(struct drm_device *dev)
|
void intel_fb_restore_mode(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
drm_i915_private_t *dev_priv = dev->dev_private;
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
||||||
struct drm_mode_config *config = &dev->mode_config;
|
struct drm_mode_config *config = &dev->mode_config;
|
||||||
struct drm_plane *plane;
|
struct drm_plane *plane;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user