sh: sm501: add 2D engine support
commit604be20023dc1e03f14f76f76be8023e6abfe14a
authorShin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp>
Sat, 15 May 2010 12:25:39 +0000 (15 21:25 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 15 May 2010 13:57:22 +0000 (15 13:57 +0000)
tree05ca2f210122d4663e8545d4df0a55d1f207604e
parente5d3b98d5372c318e13a2f128f2198926c019990
sh: sm501: add 2D engine support

In linux kernel v2.6.33, sm501 frame buffer driver modified to support
2D graphics engine on sm501 chip.  One example is "fill rectangle" operation.
But current qemu's sm501 emulation doesn't support it.  This results in
graphics console disturbance.

This patch introduces sm501 2D graphics engine emulation and solve this problem.

    Add SM501 2D hardware engine support.

     - Add 2D engine register set read/write handlers.
     - Support 'fill rectangle'. Other operations are left for future work.
     - Update SM501 support status comment.

Signed-off-by: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/sm501.c