aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ast/ast_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/ast/ast_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/ast/ast_fb.c')
-rw-r--r--drivers/gpu/drm/ast/ast_fb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_fb.c b/drivers/gpu/drm/ast/ast_fb.c
index cba45c774552..5c60ae524c45 100644
--- a/drivers/gpu/drm/ast/ast_fb.c
+++ b/drivers/gpu/drm/ast/ast_fb.c
@@ -186,7 +186,8 @@ static int astfb_create_object(struct ast_fbdev *afbdev,
186static int astfb_create(struct drm_fb_helper *helper, 186static int astfb_create(struct drm_fb_helper *helper,
187 struct drm_fb_helper_surface_size *sizes) 187 struct drm_fb_helper_surface_size *sizes)
188{ 188{
189 struct ast_fbdev *afbdev = (struct ast_fbdev *)helper; 189 struct ast_fbdev *afbdev =
190 container_of(helper, struct ast_fbdev, helper);
190 struct drm_device *dev = afbdev->helper.dev; 191 struct drm_device *dev = afbdev->helper.dev;
191 struct drm_mode_fb_cmd2 mode_cmd; 192 struct drm_mode_fb_cmd2 mode_cmd;
192 struct drm_framebuffer *fb; 193 struct drm_framebuffer *fb;