summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaixia Shi <hshi@chromium.org>2016-02-05 13:57:43 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-02-09 16:34:45 +0100
commite9f8250f2f92b0e087aef84a33014372375c73db (patch)
tree4a66172b9c76913dec605713ad3a9c25235f6553
parent67fe85dd6df202d66a46054486d2b339ebed84c4 (diff)
downloadblackbird-obmc-linux-e9f8250f2f92b0e087aef84a33014372375c73db.tar.gz
blackbird-obmc-linux-e9f8250f2f92b0e087aef84a33014372375c73db.zip
drm/msm: remove the drm_device_is_unplugged check
This flag is only used for drm/udl. Signed-off-by: Haixia Shi <hshi@chromium.org> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Acked-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1454709464-2536-1-git-send-email-hshi@chromium.org
-rw-r--r--drivers/gpu/drm/msm/msm_fbdev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/msm/msm_fbdev.c b/drivers/gpu/drm/msm/msm_fbdev.c
index d95af6eba602..e119c2979509 100644
--- a/drivers/gpu/drm/msm/msm_fbdev.c
+++ b/drivers/gpu/drm/msm/msm_fbdev.c
@@ -65,9 +65,6 @@ static int msm_fbdev_mmap(struct fb_info *info, struct vm_area_struct *vma)
struct drm_device *dev = helper->dev;
int ret = 0;
- if (drm_device_is_unplugged(dev))
- return -ENODEV;
-
ret = drm_gem_mmap_obj(drm_obj, drm_obj->size, vma);
if (ret) {
pr_err("%s:drm_gem_mmap_obj fail\n", __func__);
OpenPOWER on IntegriCloud