aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_fb.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-10-01 05:27:01 -0400
committerDave Airlie <airlied@redhat.com>2014-10-01 05:27:01 -0400
commitc5939a7360a69fc415bcfff6b10ced5227495a48 (patch)
tree1b9c7796fbeeba17e0e184a755354482de976af7 /drivers/gpu/drm/udl/udl_fb.c
parent1dadba87cba20989c5a5a56f2a86fe6672e37c30 (diff)
parent1b11629737ca5414b0310d35e01a125cfde1ba4d (diff)
Merge tag 'topic/core-stuff-2014-09-29' of git://anongit.freedesktop.org/drm-intel into drm-next
Ok, here's the update core-stuff pull request with the locking fixup patch fixed up with another patch. * tag 'topic/core-stuff-2014-09-29' of git://anongit.freedesktop.org/drm-intel: drm: Drop grab fpriv->fbs_lock in drm_fb_release drm/udl: use container_of to resolve udl_fbdev from drm_fb_helper drm/ast: use container_of to resolve ast_fbdev from drm_fb_helper drm/gma500: use container_of to resolve psb_fbdev from drm_fb_helper drm/qxl: use container_of to resolve qxl_fbdev from drm_fb_helper drm/nouveau: use container_of to resolve nouveau_plane from drm_plane drm/nouveau: use container_of to resolve nouveau_fbdev from drm_fb_helper drm/radeon: use container_of to resolve radeon_fbdev from drm_fb_helper drm/mgag200: use container_of to resolve mga_fbdev from drm_fb_helper drm/cirrus: use container_of to resolve cirrus_fbdev from drm_fb_helper drm: Improve debug output for drm_wait_one_vblank drm: Fixup locking for universal cursor planes drm: Don't update vblank timestamp when the counter didn't change
Diffstat (limited to 'drivers/gpu/drm/udl/udl_fb.c')
-rw-r--r--drivers/gpu/drm/udl/udl_fb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c
index d1da339843ca..8cbcb4589bd3 100644
--- a/drivers/gpu/drm/udl/udl_fb.c
+++ b/drivers/gpu/drm/udl/udl_fb.c
@@ -472,7 +472,8 @@ udl_framebuffer_init(struct drm_device *dev,
472static int udlfb_create(struct drm_fb_helper *helper, 472static int udlfb_create(struct drm_fb_helper *helper,
473 struct drm_fb_helper_surface_size *sizes) 473 struct drm_fb_helper_surface_size *sizes)
474{ 474{
475 struct udl_fbdev *ufbdev = (struct udl_fbdev *)helper; 475 struct udl_fbdev *ufbdev =
476 container_of(helper, struct udl_fbdev, helper);
476 struct drm_device *dev = ufbdev->helper.dev; 477 struct drm_device *dev = ufbdev->helper.dev;
477 struct fb_info *info; 478 struct fb_info *info;
478 struct device *device = dev->dev; 479 struct device *device = dev->dev;