[PATCH 1/8] drm/bochs: phase 1 - use the transitional helpers

2015-07-16 Thread Daniel Vetter
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; > > +st

[PATCH 1/8] drm/bochs: phase 1 - use the transitional helpers

2015-07-16 Thread John Hunter
From: Zhao Junwang -register driver's own primary plane -use drm_crtc_init_with_planes instead of drm_crtc_init -split ->mode_set into: 1. set the new hw mode 2. update the primary plane (This is done by ->set_base) -move what ->set_base do into ->atomic_update -the new atomic i

[PATCH 1/8] drm/bochs: phase 1 - use the transitional helpers

2015-07-16 Thread Gerd Hoffmann
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