On Thu, Jul 16, 2015 at 05:49:43PM +0200, Gerd Hoffmann wrote:
On Do, 2015-07-16 at 20:20 +0800, John Hunter wrote:
--- a/drivers/gpu/drm/bochs/bochs_kms.c +++ b/drivers/gpu/drm/bochs/bochs_kms.c @@ -10,6 +10,11 @@
static int defx = 1024; static int defy = 768; +static u64 gpu_addr = 0;
That isn't going to fly. Guess you could it that into struct bochs_framebuffer.
Right I completely missed this in the prelimary review I've done. Simplest solution would be to remove gpu_addr and just lookup the bo offset again using bochs_bo_gpu_offset. -Daniel