From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57777] lcd screen of a laptop does not wake up after sleep Date: Tue, 08 Jan 2013 13:06:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0779603418==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0779603418== Content-Type: multipart/alternative; boundary="1357650401.FbB0641.6857"; charset="us-ascii" --1357650401.FbB0641.6857 Date: Tue, 8 Jan 2013 13:06:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57777 --- Comment #7 from Alin M Elena --- Hi Marcin, unless I do something very silly I did not manage to compile the two commits indicated against 3.8rc2 Here what I have done git clone --depth 0 git://anongit.freedesktop.org/nouveau/linux-2.6 nouveau cd nouveau git checkout 186ecad21 extracted the needed folders and compiled... got the error... [ 37s] /home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c: In function 'nouveau_bo_validate': [ 37s] /home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:400:10: error: too many arguments to function 'ttm_bo_validate' [ 37s] In file included from /home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_drm.h:22:0, [ 37s] from /home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:36: [ 37s] /usr/src/linux-3.8.0-rc2-2/include/drm/ttm/ttm_bo_api.h:350:12: note: declared here [ 37s] /home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c: In function 'nouveau_bo_move_accel_cleanup': [ 37s] /home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:570:6: error: incompatible type for argument 5 of 'ttm_bo_move_accel_cleanup' [ 37s] In file included from /home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_drm.h:23:0, [ 37s] from /home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:36: [ 37s] /usr/src/linux-3.8.0-rc2-2/include/drm/ttm/ttm_bo_driver.h:968:12: note: expected 'struct ttm_mem_reg *' but argument is of type 'bool' [ 37s] /home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:570:6: error: too many arguments to function 'ttm_bo_move_accel_cleanup' I am blocked.. Alin -- You are receiving this mail because: You are the assignee for the bug. --1357650401.FbB0641.6857 Date: Tue, 8 Jan 2013 13:06:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 7 on bug 57777 from
Hi Marcin,

unless I do something very silly I did not manage to compile the two commits
indicated against 3.8rc2
Here what I have done

git clone --depth 0 git://anongit.freedesktop.org/nouveau/linux-2.6 nouveau
cd nouveau
git checkout 186ecad21

extracted the needed folders and compiled... 
got the error...
[   37s]
/home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:
In function 'nouveau_bo_validate':
[   37s]
/home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:400:10:
error: too many arguments to function 'ttm_bo_validate'
[   37s] In file included from
/home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_drm.h:22:0,
[   37s]                  from
/home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:36:
[   37s] /usr/src/linux-3.8.0-rc2-2/include/drm/ttm/ttm_bo_api.h:350:12: note:
declared here
[   37s]
/home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:
In function 'nouveau_bo_move_accel_cleanup':
[   37s]
/home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:570:6:
error: incompatible type for argument 5 of 'ttm_bo_move_accel_cleanup'
[   37s] In file included from
/home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_drm.h:23:0,
[   37s]                  from
/home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:36:
[   37s] /usr/src/linux-3.8.0-rc2-2/include/drm/ttm/ttm_bo_driver.h:968:12:
note: expected 'struct ttm_mem_reg *' but argument is of type 'bool'
[   37s]
/home/abuild/rpmbuild/BUILD/drm-nouveau-1357654062/master/obj/desktop/drivers/gpu/drm/nouveau/nouveau_bo.c:570:6:
error: too many arguments to function 'ttm_bo_move_accel_cleanup'


I am blocked..

Alin


You are receiving this mail because:
  • You are the assignee for the bug.
--1357650401.FbB0641.6857-- --===============0779603418== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0779603418==--