[Intel-gfx] [PATCH 00/15] The "no more agp" series

Daniel Vetter daniel.vetter at ffwll.ch
Sat Nov 6 15:21:53 CET 2010


Hi all,

The first few patches are a bunch of leftover cleanups from the intel-gtt
rewrite in .36.

Tested on my i815, i855, i945 and ironlake.

Some items still on my todo-list for the gtt:
- Embed drm_mm_node.
- Kill /dev/agpgart for kms-only chips. Requires some small rework of the
  init sequence.
- Fix i855 cache coherency. All these gtt optimizations only made things
  worse :(

As usual, comments, flames, highly welcome. Wrt merging I think it'd be
easiest if this goes in via d-i-n completely.

Yours, Daniel

Daniel Vetter (15):
  intel-gtt: drop dcache support for i830 and later
  intel-gtt: kill unneeded sandybridge memory types
  intel-gtt: switch i81x to the write_entry helpers
  intel-gtt: switch i81x to the common initialization helpers
  intel-gtt: fold i81x-only dcache support into the generic driver
  drm/i915|intel-gtt: consolidate intel-gtt.h headers
  drm/i915/gtt: call chipset flush directly
  drm: kill drm_agp_chipset_flush
  agp: kill agp_flush_chipset and corresponding ioctl
  drm/i915: track objects in the gtt
  drm/i915: restore gtt on resume in the drm instead of in intel-gtt.ko
  agp: kill agp_rebind_memory
  drm/i915: move gtt handling to i915_gem_gtt.c
  intel-gtt: export api for drm/i915
  drm/i915: no more agp for gem

 drivers/char/agp/agp.h              |    1 -
 drivers/char/agp/compat_ioctl.c     |    1 -
 drivers/char/agp/compat_ioctl.h     |    1 -
 drivers/char/agp/frontend.c         |    8 -
 drivers/char/agp/generic.c          |   27 --
 drivers/char/agp/intel-agp.c        |    5 -
 drivers/char/agp/intel-gtt.c        |  569 ++++++++++++++---------------------
 drivers/gpu/drm/drm_agpsupport.c    |    6 -
 drivers/gpu/drm/i915/Makefile       |    1 +
 drivers/gpu/drm/i915/i915_drv.c     |    1 +
 drivers/gpu/drm/i915/i915_drv.h     |   18 +-
 drivers/gpu/drm/i915/i915_gem.c     |   28 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c |  102 +++++++
 include/drm/drmP.h                  |    1 -
 include/drm/intel-gtt.h             |   24 ++
 include/linux/agp_backend.h         |    2 -
 include/linux/intel-gtt.h           |   20 --
 17 files changed, 381 insertions(+), 434 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_gem_gtt.c
 delete mode 100644 include/linux/intel-gtt.h




More information about the Intel-gfx mailing list