[PATCH 1/8] drm/bochs: phase 1 - use the transitional helpers
Daniel Vetter
daniel at ffwll.ch
Thu Jul 16 11:22:18 PDT 2015
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
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the dri-devel
mailing list