* drivers/gpu/drm/i915/i915_suspend.c:792: error: 'const struct intel_device_info' has no member named 'gen'
@ 2010-09-28 13:36 Jeff Chua
2010-09-28 13:46 ` drivers/gpu/drm/i915/i915_suspend.c:792: error: const struct intel_device_info has no member named gen Chris Wilson
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Chua @ 2010-09-28 13:36 UTC (permalink / raw)
To: lkml; +Cc: Chris Wilson
CC drivers/gpu/drm/i915/i915_suspend.o
drivers/gpu/drm/i915/i915_suspend.c: In function 'i915_save_state':
drivers/gpu/drm/i915/i915_suspend.c:792: error: 'const struct
intel_device_info' has no member named 'gen'
drivers/gpu/drm/i915/i915_suspend.c: In function 'i915_restore_state':
drivers/gpu/drm/i915/i915_suspend.c:827: error: 'const struct
intel_device_info' has no member named 'gen'
make[4]: *** [drivers/gpu/drm/i915/i915_suspend.o] Error 1
make[3]: *** [drivers/gpu/drm/i915] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I started happening 2 weeks ago. Does anyone has a fix for this?
Thanks
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: drivers/gpu/drm/i915/i915_suspend.c:792: error: const struct intel_device_info has no member named gen
2010-09-28 13:36 drivers/gpu/drm/i915/i915_suspend.c:792: error: 'const struct intel_device_info' has no member named 'gen' Jeff Chua
@ 2010-09-28 13:46 ` Chris Wilson
2010-09-29 0:57 ` Jeff Chua
0 siblings, 1 reply; 3+ messages in thread
From: Chris Wilson @ 2010-09-28 13:46 UTC (permalink / raw)
To: Jeff Chua, lkml
On Tue, 28 Sep 2010 21:36:09 +0800, Jeff Chua <jeff.chua.linux@gmail.com> wrote:
> CC drivers/gpu/drm/i915/i915_suspend.o
> drivers/gpu/drm/i915/i915_suspend.c: In function 'i915_save_state':
> drivers/gpu/drm/i915/i915_suspend.c:792: error: 'const struct
> intel_device_info' has no member named 'gen'
> drivers/gpu/drm/i915/i915_suspend.c: In function 'i915_restore_state':
> drivers/gpu/drm/i915/i915_suspend.c:827: error: 'const struct
> intel_device_info' has no member named 'gen'
> make[4]: *** [drivers/gpu/drm/i915/i915_suspend.o] Error 1
> make[3]: *** [drivers/gpu/drm/i915] Error 2
> make[2]: *** [drivers/gpu/drm] Error 2
> make[1]: *** [drivers/gpu] Error 2
> make: *** [drivers] Error 2
Which tree are you compiling? As it is missing:
commit c96c3a8cb7fadcb33d9a5ebe35fcee8b7d0a7946
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Wed Aug 11 09:59:24 2010 +0100
drm/i915: Include a generation number in the device info
To simplify the IS_GEN[234] macros and to enable switching.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: drivers/gpu/drm/i915/i915_suspend.c:792: error: const struct intel_device_info has no member named gen
2010-09-28 13:46 ` drivers/gpu/drm/i915/i915_suspend.c:792: error: const struct intel_device_info has no member named gen Chris Wilson
@ 2010-09-29 0:57 ` Jeff Chua
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Chua @ 2010-09-29 0:57 UTC (permalink / raw)
To: Chris Wilson; +Cc: lkml
On Tue, Sep 28, 2010 at 9:46 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> On Tue, 28 Sep 2010 21:36:09 +0800, Jeff Chua <jeff.chua.linux@gmail.com> wrote:
>> CC drivers/gpu/drm/i915/i915_suspend.o
>> drivers/gpu/drm/i915/i915_suspend.c: In function 'i915_save_state':
>> drivers/gpu/drm/i915/i915_suspend.c:792: error: 'const struct
>> intel_device_info' has no member named 'gen'
>> drivers/gpu/drm/i915/i915_suspend.c: In function 'i915_restore_state':
>> drivers/gpu/drm/i915/i915_suspend.c:827: error: 'const struct
>> intel_device_info' has no member named 'gen'
>> make[4]: *** [drivers/gpu/drm/i915/i915_suspend.o] Error 1
>> make[3]: *** [drivers/gpu/drm/i915] Error 2
>> make[2]: *** [drivers/gpu/drm] Error 2
>> make[1]: *** [drivers/gpu] Error 2
>> make: *** [drivers] Error 2
>
> Which tree are you compiling? As it is missing:
>
> commit c96c3a8cb7fadcb33d9a5ebe35fcee8b7d0a7946
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date: Wed Aug 11 09:59:24 2010 +0100
>
> drm/i915: Include a generation number in the device info
>
> To simplify the IS_GEN[234] macros and to enable switching.
Chris,
I must have done something wrong. I rebuild from scratch and now it's ok.
Thanks,
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-29 0:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-28 13:36 drivers/gpu/drm/i915/i915_suspend.c:792: error: 'const struct intel_device_info' has no member named 'gen' Jeff Chua
2010-09-28 13:46 ` drivers/gpu/drm/i915/i915_suspend.c:792: error: const struct intel_device_info has no member named gen Chris Wilson
2010-09-29 0:57 ` Jeff Chua
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®