topic/core-stuff
Hi Dave,
Just noticed that you've picked up the header rework stuff already, so I've rebased that out again. Otherwise just two stragglers from the vblank rework and the universal cursor planes locking fix. Plus sprinkling container_of all over fbdev emulation from Fabian.
Aside: I only have just 1 fix for drm-next atm for i915 and not terribly serious. So will probably only send you a pull for it when the merge window opens or something more serious shows up.
Cheers, Daniel
The following changes since commit d743ecf360637d489a3ba81a268f574359149601:
drm/doc: Fixup drm_irq kerneldoc includes. (2014-09-24 11:43:47 +1000)
are available in the git repository at:
git://anongit.freedesktop.org/drm-intel tags/topic/core-stuff-2014-09-24
for you to fetch changes up to ee0d68ab5f0997a500fdf90924a58e787b216292:
drm/udl: use container_of to resolve udl_fbdev from drm_fb_helper (2014-09-24 12:09:28 +0200)
----------------------------------------------------------------
Daniel Vetter (2):
drm: Fixup locking for universal cursor planes
drm: Improve debug output for drm_wait_one_vblank
Fabian Frederick (9):
drm/cirrus: use container_of to resolve cirrus_fbdev from drm_fb_helper drm/mgag200: use container_of to resolve mga_fbdev from drm_fb_helper drm/radeon: use container_of to resolve radeon_fbdev from drm_fb_helper drm/nouveau: use container_of to resolve nouveau_fbdev from drm_fb_helper drm/nouveau: use container_of to resolve nouveau_plane from drm_plane drm/qxl: use container_of to resolve qxl_fbdev from drm_fb_helper drm/gma500: use container_of to resolve psb_fbdev from drm_fb_helper drm/ast: use container_of to resolve ast_fbdev from drm_fb_helper drm/udl: use container_of to resolve udl_fbdev from drm_fb_helper
Mario Kleiner (1):
drm: Don't update vblank timestamp when the counter didn't change
drivers/gpu/drm/ast/ast_fb.c | 3 +- drivers/gpu/drm/cirrus/cirrus_fbdev.c | 3 +- drivers/gpu/drm/drm_crtc.c | 51 ++++++++++++++++++++---------- drivers/gpu/drm/drm_irq.c | 7 ++-- drivers/gpu/drm/gma500/framebuffer.c | 3 +- drivers/gpu/drm/mgag200/mgag200_fb.c | 3 +- drivers/gpu/drm/nouveau/dispnv04/overlay.c | 15 ++++++--- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 3 +- drivers/gpu/drm/qxl/qxl_fb.c | 3 +- drivers/gpu/drm/radeon/radeon_fb.c | 3 +- drivers/gpu/drm/udl/udl_fb.c | 3 +- 11 files changed, 65 insertions(+), 32 deletions(-)
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 6 lines · Daniel Vetter
Hi Dave,
Just noticed that you've picked up the header rework stuff already, so I've rebased that out again. Otherwise just two stragglers from the vblank rework and the universal cursor planes locking fix. Plus sprinkling
container_ofall over fbdev emulation from Fabian.
I thought it was questionable whether these were desired... the pattern of casting between structs that contain others as bases is a pretty common one, and container_of just makes it harder to read. Did the discussion end in a way that concluded the opposite? I might have missed it.
-ilia
Quoted 60 lines
Aside: I only have just 1 fix for drm-next atm for i915 and not terribly serious. So will probably only send you a pull for it when the merge window opens or something more serious shows up.
Cheers, Daniel
The following changes since commit
d743ecf360637d489a3ba81a268f574359149601:drm/doc: Fixup
drm_irqkerneldoc includes. (2014-09-24 11:43:47 +1000)are available in the git repository at:
git://anongit.freedesktop.org/drm-inteltags/topic/core-stuff-2014-09-24for you to fetch changes up to
ee0d68ab5f0997a500fdf90924a58e787b216292:drm/udl: use
container_ofto resolveudl_fbdevfromdrm_fb_helper(2014-09-24 12:09:28 +0200)----------------------------------------------------------------
Daniel Vetter (2):
drm: Fixup locking for universal cursor planes
drm: Improve debug output fordrm_wait_one_vblankFabian Frederick (9):
drm/cirrus: usecontainer_ofto resolvecirrus_fbdevfromdrm_fb_helperdrm/mgag200: usecontainer_ofto resolvemga_fbdevfromdrm_fb_helperdrm/radeon: usecontainer_ofto resolveradeon_fbdevfromdrm_fb_helperdrm/nouveau: usecontainer_ofto resolvenouveau_fbdevfromdrm_fb_helperdrm/nouveau: usecontainer_ofto resolvenouveau_planefromdrm_planedrm/qxl: usecontainer_ofto resolveqxl_fbdevfromdrm_fb_helperdrm/gma500: usecontainer_ofto resolvepsb_fbdevfromdrm_fb_helperdrm/ast: usecontainer_ofto resolveast_fbdevfromdrm_fb_helperdrm/udl: usecontainer_ofto resolveudl_fbdevfromdrm_fb_helperMario Kleiner (1):
drm: Don't update vblank timestamp when the counter didn't changedrivers/gpu/drm/ast/ast_fb.c | 3 +- drivers/gpu/drm/cirrus/cirrus_fbdev.c | 3 +- drivers/gpu/drm/drm_crtc.c | 51 ++++++++++++++++++++---------- drivers/gpu/drm/drm_irq.c | 7 ++-- drivers/gpu/drm/gma500/framebuffer.c | 3 +- drivers/gpu/drm/mgag200/mgag200_fb.c | 3 +- drivers/gpu/drm/nouveau/dispnv04/overlay.c | 15 ++++++--- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 3 +- drivers/gpu/drm/qxl/qxl_fb.c | 3 +- drivers/gpu/drm/radeon/radeon_fb.c | 3 +- drivers/gpu/drm/udl/udl_fb.c | 3 +- 11 files changed, 65 insertions(+), 32 deletions(-)--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 8 lines · Ilia Mirkin
Quoted 6 lines · Daniel Vetter
Hi Dave,
Just noticed that you've picked up the header rework stuff already, so I've rebased that out again. Otherwise just two stragglers from the vblank rework and the universal cursor planes locking fix. Plus sprinkling
container_ofall over fbdev emulation from Fabian.
Quoted 5 lines
I thought it was questionable whether these were desired... the pattern of casting between structs that contain others as bases is a pretty common one, and
container_ofjust makes it harder to read. Did the discussion end in a way that concluded the opposite? I might have missed it.
I like them since you can employ gcc to check mundane stuff for you. And container_of is so massively established in the kernel (with list_head alone) that I don't think any serious kernel hacker has problem's reading it. Alan Cox complained a bit a bit on imo elitist grounds so until someone goes on record with an official Nack I think they're worth it.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 22 lines · Daniel Vetter
Hi Dave,
Just noticed that you've picked up the header rework stuff already, so I've rebased that out again. Otherwise just two stragglers from the vblank rework and the universal cursor planes locking fix. Plus sprinkling
container_ofall over fbdev emulation from Fabian.Aside: I only have just 1 fix for drm-next atm for i915 and not terribly serious. So will probably only send you a pull for it when the merge window opens or something more serious shows up.
Cheers, Daniel
The following changes since commit
d743ecf360637d489a3ba81a268f574359149601:drm/doc: Fixup
drm_irqkerneldoc includes. (2014-09-24 11:43:47 +1000)are available in the git repository at:
git://anongit.freedesktop.org/drm-inteltags/topic/core-stuff-2014-09-24
Quoted 7 lines
for you to fetch changes up to
ee0d68ab5f0997a500fdf90924a58e787b216292:drm/udl: use
container_ofto resolveudl_fbdevfromdrm_fb_helper(2014-09-24 12:09:28 +0200)----------------------------------------------------------------
Daniel Vetter (2):
drm: Fixup locking for universal cursor planes
Ok, this one here is bust since it introduces an inversion between the modeset locks and fpriv->fbs_lock. Oh well. I'll try to patch this up asap.
-Daniel
Quoted 33 lines
drm: Improve debug output for
drm_wait_one_vblankFabian Frederick (9):
drm/cirrus: usecontainer_ofto resolvecirrus_fbdevfromdrm_fb_helperdrm/mgag200: usecontainer_ofto resolvemga_fbdevfromdrm_fb_helperdrm/radeon: usecontainer_ofto resolveradeon_fbdevfromdrm_fb_helperdrm/nouveau: usecontainer_ofto resolvenouveau_fbdevfromdrm_fb_helperdrm/nouveau: usecontainer_ofto resolvenouveau_planefromdrm_planedrm/qxl: usecontainer_ofto resolveqxl_fbdevfromdrm_fb_helperdrm/gma500: usecontainer_ofto resolvepsb_fbdevfromdrm_fb_helperdrm/ast: usecontainer_ofto resolveast_fbdevfromdrm_fb_helperdrm/udl: usecontainer_ofto resolveudl_fbdevfromdrm_fb_helperMario Kleiner (1):
drm: Don't update vblank timestamp when the counter didn't changedrivers/gpu/drm/ast/ast_fb.c | 3 +- drivers/gpu/drm/cirrus/cirrus_fbdev.c | 3 +- drivers/gpu/drm/drm_crtc.c | 51 ++++++++++++++++++++---------- drivers/gpu/drm/drm_irq.c | 7 ++-- drivers/gpu/drm/gma500/framebuffer.c | 3 +- drivers/gpu/drm/mgag200/mgag200_fb.c | 3 +- drivers/gpu/drm/nouveau/dispnv04/overlay.c | 15 ++++++--- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 3 +- drivers/gpu/drm/qxl/qxl_fb.c | 3 +- drivers/gpu/drm/radeon/radeon_fb.c | 3 +- drivers/gpu/drm/udl/udl_fb.c | 3 +- 11 files changed, 65 insertions(+), 32 deletions(-)Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 15 lines · Daniel Vetter
Quoted 8 lines · Ilia Mirkin
Quoted 6 lines · Daniel Vetter
Hi Dave,
Just noticed that you've picked up the header rework stuff already, so I've rebased that out again. Otherwise just two stragglers from the vblank rework and the universal cursor planes locking fix. Plus sprinkling
container_ofall over fbdev emulation from Fabian.Quoted 5 lines
I thought it was questionable whether these were desired... the pattern of casting between structs that contain others as bases is a pretty common one, and
container_ofjust makes it harder to read. Did the discussion end in a way that concluded the opposite? I might have missed it.
Quoted 6 lines
I like them since you can employ gcc to check mundane stuff for you. And
container_ofis so massively established in the kernel (withlist_headalone) that I don't think any serious kernel hacker has problem's reading it. Alan Cox complained a bit a bit on imo elitist grounds so until someone goes on record with an official Nack I think they're worth it.
I like them, but I don't want to encourage them, they are over time going to just be conflict
creators, which makes it sounds like work for me,
So I don't mind this batch for the fbdev, but I don't want to see anymore unless they provide more value.
also I'm on holidays until Tuesday, I'll have some access to stuff, but won't be on top of urgent things, so hopefully nothing urgent happens.
Dave.