]> git.proxmox.com Git - mirror_qemu.git/commit
sm501: Get rid of base address in draw_hwc_line
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 21 Apr 2017 15:18:09 +0000 (17:18 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Apr 2017 11:32:12 +0000 (12:32 +0100)
commitc795fa8447ba9d4133bd8be84341151f8dc3f077
treea400f4830601181a7fba9109282123d74fcadc6f
parentca8a1104708b0c8775d5f9daf8ea9de92d277574
sm501: Get rid of base address in draw_hwc_line

Do not use the base address to access data in local memory. This is in
preparation to allow chip connected via PCI where base address depends
on where the BAR is mapped so it will be unknown.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Message-id: 79dab21bc6ec4d563aabf265c3bab40e2e95aae8.1492787889.git.balaton@eik.bme.hu
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/display/sm501.c
hw/display/sm501_template.h