drm: Initial KMS driver for AST (ASpeed Technologies) 2000 series (v2)
authorDave Airlie <airlied@redhat.com>
Wed, 29 Feb 2012 13:40:04 +0000 (13:40 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 May 2012 09:53:37 +0000 (10:53 +0100)
commit312fec1405dd546ddb3fa6387d54e78f604dd8f8
tree83bbeed68d15aba65a326fff1846472a045ae76e
parentdb2e034d2c55e1f273ed820cc3edcdbc73d0292c
drm: Initial KMS driver for AST (ASpeed Technologies) 2000 series (v2)

This is the initial driver for the Aspeed Technologies chips found in
servers. This driver supports the AST 2000, 2100, 2200, 2150 and 2300. It
doesn't support the AST11xx due to lack of hw to test it on, and them requiring
different codepaths.

This driver is intended to be used with xf86-video-modesetting in userspace.

This driver has a slightly different design than other KMS drivers, but
future server chips will probably share similiar setup. As these GPUs commonly
have low video RAM, it doesn't make sense to put the kms console in VRAM
always. This driver places the kms console into system RAM, and does dirty
updates to a copy in video RAM. When userspace sets a new scanout buffer,
it forcefully evicts the video RAM console, and X can create a framebuffer
that can use all of of video RAM.

This driver uses TTM but in a very simple fashion to control the eviction
to system RAM of the console, and multiple servers.

v2: add s/r support, fix Kconfig.

Signed-off-by: Dave Airlie <airlied@redhat.com>
13 files changed:
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/ast/Kconfig [new file with mode: 0644]
drivers/gpu/drm/ast/Makefile [new file with mode: 0644]
drivers/gpu/drm/ast/ast_dram_tables.h [new file with mode: 0644]
drivers/gpu/drm/ast/ast_drv.c [new file with mode: 0644]
drivers/gpu/drm/ast/ast_drv.h [new file with mode: 0644]
drivers/gpu/drm/ast/ast_fb.c [new file with mode: 0644]
drivers/gpu/drm/ast/ast_main.c [new file with mode: 0644]
drivers/gpu/drm/ast/ast_mode.c [new file with mode: 0644]
drivers/gpu/drm/ast/ast_post.c [new file with mode: 0644]
drivers/gpu/drm/ast/ast_tables.h [new file with mode: 0644]
drivers/gpu/drm/ast/ast_ttm.c [new file with mode: 0644]