[PATCH 0/8] Preparatory work for 2D acceleration
Patrik Jakobsson
patrik.r.jakobsson at gmail.com
Mon Jan 20 18:37:12 PST 2014
In order to do blits on GEM buffers we need to enable the MMU. The MMU
currently mirrors the GTT in a single MMU context. We also need GEM
buffers to handle base alignment restrictions for various buffer types.
For blitter debugging, GPU hang recovery and blitter status we also need
to handle SGX interrupts. The old ioctls can go since nothing ever used
them and they don't do what we need. These patches should be totally
transparent to users.
Patrik Jakobsson (8):
drm/gma500: Make SGX MMU driver actually do something
drm/gma500: Add support for SGX interrupts
drm/gma500: Give MMU code it's own header file
drm/gma500: Add first piece of blitter code
drm/gma500: Hook up the MMU
drm/gma500: Always trap MMU page faults
drm/gma500: Remove unused ioctls
drm/gma500: Add backing type and base align to psb_gem_create()
drivers/gpu/drm/gma500/Makefile | 1 +
drivers/gpu/drm/gma500/blitter.c | 47 +++++
drivers/gpu/drm/gma500/blitter.h | 22 +++
drivers/gpu/drm/gma500/framebuffer.c | 2 +-
drivers/gpu/drm/gma500/gem.c | 53 +----
drivers/gpu/drm/gma500/gem.h | 21 ++
drivers/gpu/drm/gma500/gtt.c | 45 ++++-
drivers/gpu/drm/gma500/gtt.h | 3 +-
drivers/gpu/drm/gma500/mmu.c | 297 +++++++++++++----------------
drivers/gpu/drm/gma500/mmu.h | 93 +++++++++
drivers/gpu/drm/gma500/psb_drv.c | 233 +++-------------------
drivers/gpu/drm/gma500/psb_drv.h | 45 +----
drivers/gpu/drm/gma500/psb_intel_display.c | 30 +--
drivers/gpu/drm/gma500/psb_intel_drv.h | 2 -
drivers/gpu/drm/gma500/psb_irq.c | 80 ++++++--
include/drm/gma_drm.h | 70 +------
16 files changed, 453 insertions(+), 591 deletions(-)
create mode 100644 drivers/gpu/drm/gma500/blitter.c
create mode 100644 drivers/gpu/drm/gma500/blitter.h
create mode 100644 drivers/gpu/drm/gma500/gem.h
create mode 100644 drivers/gpu/drm/gma500/mmu.h
--
1.8.3.2
More information about the dri-devel
mailing list