From: Daniel Vetter Subject: [PATCH 00/17] gtt rework, part2 : pte handling Date: Tue, 14 Sep 2010 00:34:57 +0200 Message-ID: <1284417314-32070-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.ffwll.ch (cable-static-49-187.intergga.ch [157.161.49.187]) by gabe.freedesktop.org (Postfix) with ESMTP id 03B6D9E7A4 for ; Mon, 13 Sep 2010 15:33:09 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org Hi all, The next part of my intel gtt rework. This creates a new abstraction for the pte handling, resulting in: - A generic fake agp driver for all chipsets (save the poor bastard i81x). - Less indirection hell for the pte writing (a simpel write_entry instead of iowrite32(mask_memory(type_to_mask))). Of course there's still a bit left to clean up in intel-gtt.c (Chris Wilson is busy adding things to my todo list). But I think this is a nice cut point for the current release cycle. The next one can then concern itself with better integration with gem and a few other loose ends on a hopefully well-tested basis. As usual, tested on i855 (with -fixes merged in), i945 and my ilk. Comments highly welcome. Altough I refuse to accept responsability for headaches from reading the (old) code in intel-gtt.c ;) Yours, Daniel Daniel Vetter (17): intel-gtt: initialize our own scratch page intel-gtt: introduce pte write function for i8xx/i915/i945 intel-gtt: introduce pte write function for g33/i965/gm45 intel-gtt: introduce pte write function for gen6 intel-gtt: drop agp scratch page support stuff agp: kill agp_(map|unmap)_page intel-gtt: generic (insert|remove)_entries for i830 intel-gtt: generic (insert|remove)_entries for i915 intel-gtt: generic (insert|remove)_entries for g33/i965 intel-gtt: generic (insert|remove)_entries for sandybridge intel-gtt: kill mask_memory functions intel-gtt: move chipset flush to the gtt driver struct intel-gtt: consolidate fake_agp driver structs agp: kill agp_(unmap|map)_memory intel-gtt: clean up gtt size reporting intel-gtt: store the dma mask size in intel_gtt_driver intel-gtt add a cleanup function for chipset specific stuff drivers/char/agp/agp.h | 5 - drivers/char/agp/backend.c | 22 +-- drivers/char/agp/generic.c | 8 - drivers/char/agp/intel-gtt.c | 751 +++++++++++++++----------------------- drivers/gpu/drm/i915/i915_dma.c | 1 - include/drm/intel-gtt.h | 2 - 6 files changed, 298 insertions(+), 491 deletions(-)