Skip to contentSkip to conversation

Pending patches for 3.15

GIT PULL David Herrmann 1 participant 4 messages Mar 16, 2014

lore
Share & tools
lore
#0 lore raw

Hi Dave

As requested, these 3 pulls contain all my pending patches for 3.15. Branch #1 should be fairly trivial, all reviewed and minor fixes. Branch #2 contains the drm-minor rework, which have also been on the list and reviewed/tested by Daniel and Thierry. Branch #3 contains the drm-anon stuff again. Maybe you can try to get Al's final acked-by?

I didn't include the simpledrm stuff for now. It depends on all three of these branches, so lets first deal with them and then have another look. Given that the simpledrm branch does not change any other DRM drivers, I don't think there's much gain in cooking it for 1 more release in -next. If nothing breaks this week, I will send the pull-request on Thursday/Friday, once I got the acked-by from Ingo.

Thanks
David

#1 lore raw

[PULL 1/3] drm-fixes

Hi Dave

This branch includes 6 minor fixes mainly for udl. Everything non-trivial was reviewed by Daniel and the patches have been on the list for quite some time.

Thanks
David

The following changes since commit 786a7828bc74b9b1466e83abb200b75f80f94121:

Merge branch 'drm-next-3.15' of git://people.freedesktop.org/~deathsimple/linux into drm-next (2014-03-05 14:52:19 +1000)

are available in the git repository at:

git://people.freedesktop.org/~dvdhrm/linux drm-fixes

for you to fetch changes up to a8469aa81de532180846b22e8ead3d8f4d2f96a2:

drm/gem: dont init "ret" in drm_gem_mmap() (2014-03-16 12:11:01 +0100)

----------------------------------------------------------------
David Herrmann (6):
drm/udl: fix error-path when damage-req fails drm/udl: fix Bpp calculation in dumb_create() drm/gem: fix indentation
drm/gem: free vma-node during object-cleanup drm/crtc: add sanity checks to create_dumb() drm/gem: dont init "ret" in drm_gem_mmap()

 drivers/gpu/drm/drm_crtc.c    | 17 +++++++++++++++++
 drivers/gpu/drm/drm_gem.c     |  8 +++++---
 drivers/gpu/drm/udl/udl_fb.c  |  2 +-
 drivers/gpu/drm/udl/udl_gem.c |  2 +-
 4 files changed, 24 insertions(+), 5 deletions(-)
#2 lore raw

[PULL 2/3] drm-minor

In reply to David Herrmann

Hi Dave

This series contains several cleanups for the DRM-minor handling. All but the last one reviewed by Daniel and tested by Thierry. Initially, the series included patches to convert minor-handling to a common base-ID, but have been NACKed by Daniel so I dropped them and only included the main part in the last patch. With this in place, drm_global_mutex is no longer needed for minor-handling (but still for device unregistration..).
There are some pending patches that try to remove the global mutex entirely, but they need some more reviews and thus are not included.

Thanks
David

The following changes since commit 786a7828bc74b9b1466e83abb200b75f80f94121:

Merge branch 'drm-next-3.15' of git://people.freedesktop.org/~deathsimple/linux into drm-next (2014-03-05 14:52:19 +1000)

are available in the git repository at:

git://people.freedesktop.org/~dvdhrm/linux drm-minor

for you to fetch changes up to 0d639883ee26359e1bf38195df1dbca0f879e239:

drm: make minors independent of global lock (2014-03-16 12:54:21 +0100)

----------------------------------------------------------------
David Herrmann (14):
drm: group dev-lifetime related members
drm: skip redundant minor-lookup in open path
drm: remove unused DRM_MINOR_UNASSIGNED
drm: turn DRM_MINOR_* into enum
drm: provide device-refcount
drm: add minor-lookup/release helpers
drm: allocate minors early
drm: move drm_put_minor() to drm_minor_free()
drm: rename drm_unplug/get_minor() to drm_minor_register/unregister()
drm: remove unneeded #ifdef CONFIG_DEBUGFS
drm: remove redundant minor->device field
drm: coding-style fixes in minor handling
drm: inline drm_minor_get_id()
drm: make minors independent of global lock

 drivers/gpu/drm/drm_drv.c      |   4 +-
 drivers/gpu/drm/drm_fops.c     |  70 ++++-----
 drivers/gpu/drm/drm_pci.c      |   2 +-
 drivers/gpu/drm/drm_platform.c |   2 +-
 drivers/gpu/drm/drm_stub.c     | 348 +++++++++++++++++++++++++----------------
 drivers/gpu/drm/drm_usb.c      |   2 +-
 drivers/gpu/drm/tegra/bus.c    |   2 +-
 include/drm/drmP.h             |  41 +++--
 8 files changed, 278 insertions(+), 193 deletions(-)
#3 lore raw

[PULL 3/3] drm-anon

In reply to David Herrmann

Hi Dave

This is the 3rd respin of the drm-anon patches. They allow module unloading, use the pin_fs_* helpers recommended by Al and are rebased on top of drm-next. Note that there are minor conflicts with the "drm-minor" branch. You can find an example merge at:
git://people.freedesktop.org/~dvdhrm/linux drm-next

Feel free to cherry-pick these. I haven't succeeded in getting Al's attention, so maybe someone else can try to get a final acked-by.. (hint: patch #1 adds EXPORT_SYMBOL to fs/dcache.c, but that's the only change needed for VFS).

Thanks
David

The following changes since commit 786a7828bc74b9b1466e83abb200b75f80f94121:

Merge branch 'drm-next-3.15' of git://people.freedesktop.org/~deathsimple/linux into drm-next (2014-03-05 14:52:19 +1000)

are available in the git repository at:

git://people.freedesktop.org/~dvdhrm/linux drm-anon

for you to fetch changes up to 44d847b7439bdea0b6c5640446427daa3ebcc7fa:

drm: init TTM dev_mapping in ttm_bo_device_init() (2014-03-16 12:23:42 +0100)

----------------------------------------------------------------
David Herrmann (3):
drm: add pseudo filesystem for shared inodes
drm: use anon-inode instead of relying on cdevs
drm: init TTM dev_mapping in ttm_bo_device_init()

 drivers/gpu/drm/ast/ast_ttm.c          |  5 +-
 drivers/gpu/drm/bochs/bochs_mm.c       |  6 ++-
 drivers/gpu/drm/cirrus/cirrus_ttm.c    |  5 +-
 drivers/gpu/drm/drm_fops.c             | 25 ++--------
 drivers/gpu/drm/drm_stub.c             | 86 +++++++++++++++++++++++++++++++++-
 drivers/gpu/drm/i915/i915_gem.c        |  3 +-
 drivers/gpu/drm/mgag200/mgag200_ttm.c  |  5 +-
 drivers/gpu/drm/nouveau/nouveau_gem.c  |  2 -
 drivers/gpu/drm/nouveau/nouveau_ttm.c  |  4 +-
 drivers/gpu/drm/omapdrm/omap_gem.c     | 34 +++++++-------
 drivers/gpu/drm/qxl/qxl_object.c       |  2 -
 drivers/gpu/drm/qxl/qxl_ttm.c          |  6 +--
 drivers/gpu/drm/radeon/radeon_object.c |  1 -
 drivers/gpu/drm/radeon/radeon_ttm.c    |  5 +-
 drivers/gpu/drm/ttm/ttm_bo.c           |  3 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c    |  5 +-
 fs/dcache.c                            |  1 +
 include/drm/drmP.h                     |  2 +-
 include/drm/drm_vma_manager.h          |  6 +--
 include/drm/ttm/ttm_bo_driver.h        |  2 +
 20 files changed, 141 insertions(+), 67 deletions(-)