drm/i915: Quieten sparse warnings for missing prototypes.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
de227ef090
commit
995b6762f0
|
@ -1902,7 +1902,7 @@ static struct drm_i915_private *i915_mch_dev;
|
||||||
* - dev_priv->fmax
|
* - dev_priv->fmax
|
||||||
* - dev_priv->gpu_busy
|
* - dev_priv->gpu_busy
|
||||||
*/
|
*/
|
||||||
DEFINE_SPINLOCK(mchdev_lock);
|
static DEFINE_SPINLOCK(mchdev_lock);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* i915_read_mch_val - return value for IPS use
|
* i915_read_mch_val - return value for IPS use
|
||||||
|
|
|
@ -4635,8 +4635,8 @@ i915_gem_load(struct drm_device *dev)
|
||||||
* Create a physically contiguous memory object for this object
|
* Create a physically contiguous memory object for this object
|
||||||
* e.g. for cursor + overlay regs
|
* e.g. for cursor + overlay regs
|
||||||
*/
|
*/
|
||||||
int i915_gem_init_phys_object(struct drm_device *dev,
|
static int i915_gem_init_phys_object(struct drm_device *dev,
|
||||||
int id, int size, int align)
|
int id, int size, int align)
|
||||||
{
|
{
|
||||||
drm_i915_private_t *dev_priv = dev->dev_private;
|
drm_i915_private_t *dev_priv = dev->dev_private;
|
||||||
struct drm_i915_gem_phys_object *phys_obj;
|
struct drm_i915_gem_phys_object *phys_obj;
|
||||||
|
@ -4668,7 +4668,7 @@ kfree_obj:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void i915_gem_free_phys_object(struct drm_device *dev, int id)
|
static void i915_gem_free_phys_object(struct drm_device *dev, int id)
|
||||||
{
|
{
|
||||||
drm_i915_private_t *dev_priv = dev->dev_private;
|
drm_i915_private_t *dev_priv = dev->dev_private;
|
||||||
struct drm_i915_gem_phys_object *phys_obj;
|
struct drm_i915_gem_phys_object *phys_obj;
|
||||||
|
|
|
@ -85,7 +85,7 @@ ironlake_disable_graphics_irq(drm_i915_private_t *dev_priv, u32 mask)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* For display hotplug interrupt */
|
/* For display hotplug interrupt */
|
||||||
void
|
static void
|
||||||
ironlake_enable_display_irq(drm_i915_private_t *dev_priv, u32 mask)
|
ironlake_enable_display_irq(drm_i915_private_t *dev_priv, u32 mask)
|
||||||
{
|
{
|
||||||
if ((dev_priv->irq_mask_reg & mask) != 0) {
|
if ((dev_priv->irq_mask_reg & mask) != 0) {
|
||||||
|
@ -305,7 +305,7 @@ static void i915_handle_rps_change(struct drm_device *dev)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
irqreturn_t ironlake_irq_handler(struct drm_device *dev)
|
static irqreturn_t ironlake_irq_handler(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
|
drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
|
||||||
int ret = IRQ_NONE;
|
int ret = IRQ_NONE;
|
||||||
|
@ -1315,7 +1315,7 @@ int i915_vblank_swap(struct drm_device *dev, void *data,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct drm_i915_gem_request *
|
static struct drm_i915_gem_request *
|
||||||
i915_get_tail_request(struct drm_device *dev)
|
i915_get_tail_request(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
drm_i915_private_t *dev_priv = dev->dev_private;
|
drm_i915_private_t *dev_priv = dev->dev_private;
|
||||||
|
|
|
@ -1513,7 +1513,7 @@ static const struct drm_encoder_funcs intel_dp_enc_funcs = {
|
||||||
.destroy = intel_dp_encoder_destroy,
|
.destroy = intel_dp_encoder_destroy,
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
static void
|
||||||
intel_dp_hot_plug(struct intel_encoder *intel_encoder)
|
intel_dp_hot_plug(struct intel_encoder *intel_encoder)
|
||||||
{
|
{
|
||||||
struct intel_dp *intel_dp = container_of(intel_encoder, struct intel_dp, base);
|
struct intel_dp *intel_dp = container_of(intel_encoder, struct intel_dp, base);
|
||||||
|
|
|
@ -219,8 +219,8 @@ static struct drm_fb_helper_funcs intel_fb_helper_funcs = {
|
||||||
.fb_probe = intel_fb_find_or_create_single,
|
.fb_probe = intel_fb_find_or_create_single,
|
||||||
};
|
};
|
||||||
|
|
||||||
int intel_fbdev_destroy(struct drm_device *dev,
|
static int intel_fbdev_destroy(struct drm_device *dev,
|
||||||
struct intel_fbdev *ifbdev)
|
struct intel_fbdev *ifbdev)
|
||||||
{
|
{
|
||||||
struct fb_info *info;
|
struct fb_info *info;
|
||||||
struct intel_framebuffer *ifb = &ifbdev->ifb;
|
struct intel_framebuffer *ifb = &ifbdev->ifb;
|
||||||
|
|
Loading…
Reference in New Issue