Skip to content

Intel Poulsbo/Morrestown DRM driver and DRM core changes

Greg KH lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 5 patches 27 repliesIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm: Split out the mm declarations in a separate header. Add atomic operations.drivers/gpu/drm/drm_mm.c include/drm/drmP.h include/drm/drm_mm.h+228 -640 replies
2/5drm: Add a tracker for global objects.drivers/gpu/drm/Makefile drivers/gpu/drm/drm_drv.c drivers/gpu/drm/drm_global.c +1 more+130 -10 replies
3/5drm: Export hash table functionality.drivers/gpu/drm/drm_hashtab.c+4 -00 replies
4/5drm: Add unlocked IOCTL functionality from the drm repo.drivers/gpu/drm/drm_drv.c include/drm/drmP.h+9 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/5] Intel Poulsbo/Morrestown DRM driver and DRM core changes

Hi,

Here's 5 patches that add the Intel Poulsbo/Morrestown DRM driver to the kernel tree.

There are 4 patches that make changes to the DRM core, and one patch that adds the DRM driver itself. The driver is added to the drivers/staging/ directory because it is not the "final" driver that Intel wishes to support over time. The userspace api is going to change, and work is currently underway to hook up properly with the memory management system.

However this work is going to take a while, and in the meantime, users want to run Linux on this kind of hardware. I'd really like to add the driver to the staging tree, but it needs these core DRM changes in order to get it to work properly.

Originally I had a patch that basically duplicated the existing DRM core, and embedded it with these changes and the PSB driver together into one big mess of a kernel module. But Richard convinced me that this wasn't the "nicest" thing to do, and he did work on the PSB code and dug out these older DRM patches.

The only thing that looks a bit "odd" to me is the unlocked ioctl patch, Thomas, is that thing really correct?

David, I'd be glad to take the DRM changes through the staging tree, but only if you ack them.

thanks,

greg k-h