VIGS: Refactoring for DRI2
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Wed, 24 Apr 2013 06:48:55 +0000 (10:48 +0400)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 9 Apr 2014 05:42:19 +0000 (14:42 +0900)
commite1c504177e6db50b2eeac7b164ed379046a226c9
tree367ec7c2bcd90922aa1ccb256d30445548eff2b6
parent4571ddf34df11c30f8e63f5e7ea33bc4eceb5946
VIGS: Refactoring for DRI2

In order to support DRI2 we must move surfaces from X.Org
into kernel. This implies having additional TTM placement - GPU placement.
We must support eviction in vigs_mman in order to be able to create
surfaces that don't occupy VRAM (Now this is done in X.Org).
Also, command execution must be moved from userland to kernel as well
and we also want to add ability to batch several commands in order
to minimize user-kernel transitions and target-host transitions.

Change-Id: I0a5d3c7627b262c0011c485d8918d125775e9a53
22 files changed:
drivers/gpu/drm/vigs/Makefile
drivers/gpu/drm/vigs/vigs_buffer.c [deleted file]
drivers/gpu/drm/vigs/vigs_buffer.h [deleted file]
drivers/gpu/drm/vigs/vigs_comm.c
drivers/gpu/drm/vigs/vigs_comm.h
drivers/gpu/drm/vigs/vigs_crtc.c
drivers/gpu/drm/vigs/vigs_device.c
drivers/gpu/drm/vigs/vigs_device.h
drivers/gpu/drm/vigs/vigs_driver.c
drivers/gpu/drm/vigs/vigs_execbuffer.c [new file with mode: 0644]
drivers/gpu/drm/vigs/vigs_execbuffer.h [new file with mode: 0644]
drivers/gpu/drm/vigs/vigs_fbdev.c
drivers/gpu/drm/vigs/vigs_framebuffer.c
drivers/gpu/drm/vigs/vigs_framebuffer.h
drivers/gpu/drm/vigs/vigs_gem.c
drivers/gpu/drm/vigs/vigs_gem.h
drivers/gpu/drm/vigs/vigs_mman.c
drivers/gpu/drm/vigs/vigs_mman.h
drivers/gpu/drm/vigs/vigs_protocol.h
drivers/gpu/drm/vigs/vigs_surface.c [new file with mode: 0644]
drivers/gpu/drm/vigs/vigs_surface.h [new file with mode: 0644]
include/drm/vigs_drm.h