diff options
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fb.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_fb.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fb.c b/drivers/gpu/drm/omapdrm/omap_fb.c index 664ccf97bc11..983c8cf2441c 100644 --- a/drivers/gpu/drm/omapdrm/omap_fb.c +++ b/drivers/gpu/drm/omapdrm/omap_fb.c | |||
@@ -312,14 +312,6 @@ void omap_framebuffer_unpin(struct drm_framebuffer *fb) | |||
312 | mutex_unlock(&omap_fb->lock); | 312 | mutex_unlock(&omap_fb->lock); |
313 | } | 313 | } |
314 | 314 | ||
315 | struct drm_gem_object *omap_framebuffer_bo(struct drm_framebuffer *fb, int p) | ||
316 | { | ||
317 | struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); | ||
318 | if (p >= drm_format_num_planes(fb->pixel_format)) | ||
319 | return NULL; | ||
320 | return omap_fb->planes[p].bo; | ||
321 | } | ||
322 | |||
323 | /* iterate thru all the connectors, returning ones that are attached | 315 | /* iterate thru all the connectors, returning ones that are attached |
324 | * to the same fb.. | 316 | * to the same fb.. |
325 | */ | 317 | */ |