Skip to content

Commit

Permalink
drm/gma500: Nuke device_is_agp callback
Browse files Browse the repository at this point in the history
Returning 0 for an on-chip gpu doesn't change anything at all.

Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170125062657.19270-8-daniel.vetter@ffwll.ch
  • Loading branch information
Daniel Vetter committed Jan 25, 2017
1 parent d574528 commit 1031548
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/gpu/drm/gma500/psb_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,11 +406,6 @@ static int psb_driver_load(struct drm_device *dev, unsigned long flags)
return ret;
}

static int psb_driver_device_is_agp(struct drm_device *dev)
{
return 0;
}

static inline void get_brightness(struct backlight_device *bd)
{
#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE
Expand Down Expand Up @@ -487,7 +482,6 @@ static struct drm_driver driver = {
.set_busid = drm_pci_set_busid,

.num_ioctls = ARRAY_SIZE(psb_ioctls),
.device_is_agp = psb_driver_device_is_agp,
.irq_preinstall = psb_irq_preinstall,
.irq_postinstall = psb_irq_postinstall,
.irq_uninstall = psb_irq_uninstall,
Expand Down

0 comments on commit 1031548

Please sign in to comment.