From: Thomas Glanzmann <thomas-U3NvvseaQwJn68oJJulU0Q@public.gmane.org>
To: Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
Cc: "nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
Ben Skeggs <bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Regression: drm/nouveau/clk: implement power state and engine clock control in core (7c856522069755ab9d163a24ac332cd3cb35fe30) breaks GeForce 9400 on Intel Mac Mini Model November 2010 model
Date: Fri, 6 Dec 2013 14:30:15 +0100 [thread overview]
Message-ID: <20131206133015.GA27211@glanzmann.de> (raw)
In-Reply-To: <CAKb7Uvht8=ydSgCe-mKpoR3LRvf1KJw2_CAV_0zeh2t4nt9nww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Hello Ilia,
> > [ 7.569394] nouveau [ DEVICE][0000:02:00.0] BOOT0 : 0x0ac080b1
> > [ 7.569460] nouveau [ DEVICE][0000:02:00.0] Chipset: MCP79/MCP7A (NVAC)
> > [ 7.569530] nouveau [ DEVICE][0000:02:00.0] Family : NV50
> > [ 7.571151] nouveau [ VBIOS][0000:02:00.0] checking PRAMIN for image...
> > [ 7.633082] nouveau [ VBIOS][0000:02:00.0] ... appears to be valid
> > [ 7.633155] nouveau [ VBIOS][0000:02:00.0] using image from PRAMIN
> > [ 7.633468] nouveau [ VBIOS][0000:02:00.0] BIT signature found
> > [ 7.633533] nouveau [ VBIOS][0000:02:00.0] version 62.79.4e.00.01
> > [ 7.654309] nouveau [ PMC][0000:02:00.0] MSI interrupts enabled
> > [ 7.654417] nouveau [ PFB][0000:02:00.0] RAM type: stolen system memory
> > [ 7.654481] nouveau [ PFB][0000:02:00.0] RAM size: 256 MiB
> > [ 7.654546] nouveau [ PFB][0000:02:00.0] ZCOMP: 0 tags
> > [ 7.687282] nouveau [ PTHERM][0000:02:00.0] FAN control: none / external
> > [ 7.687366] nouveau [ PTHERM][0000:02:00.0] fan management: automatic
> > [ 7.687429] nouveau [ PTHERM][0000:02:00.0] internal sensor: yes
> > [ 7.687500] nouveau [ CLK][0000:02:00.0] 03: core 150 MHz shader 300 MHz
> > [ 7.687575] nouveau [ CLK][0000:02:00.0] 05: core 150 MHz shader 300 MHz
> > [ 7.687648] nouveau [ CLK][0000:02:00.0] 0e: core 350 MHz shader 800 MHz
> > [ 7.687721] nouveau [ CLK][0000:02:00.0] 0f: core 450 MHz shader 1100 MHz
> > [ 7.687806] nouveau E[ CLK][0000:02:00.0] 17 freq unknown
> > [ 7.687867] nouveau E[ CLK][0000:02:00.0] init failed, -22
> http://lists.freedesktop.org/archives/nouveau/2013-December/015304.html
thank you. I tried to cherry pick this patch on top of Linux tip, but
was not able to:
CC [M] drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.o
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:478:8: error: redefinition of 'struct nvaa_clock_priv'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:33:8: note: originally defined here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:488:1: error: redefinition of 'read_div'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:43:1: note: previous definition of 'read_div' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:494:1: error: redefinition of 'read_pll'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:49:1: note: previous definition of 'read_pll' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:525:1: error: redefinition of 'nvaa_clock_read'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:80:1: note: previous definition of 'nvaa_clock_read' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:607:1: error: conflicting types for 'calc_pll'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:162:1: note: previous definition of 'calc_pll' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:628:1: error: redefinition of 'calc_P'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:183:1: note: previous definition of 'calc_P' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:646:1: error: redefinition of 'nvaa_clock_calc'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:201:1: note: previous definition of 'nvaa_clock_calc' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:744:1: error: redefinition of 'nvaa_clock_prog'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:299:1: note: previous definition of 'nvaa_clock_prog' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:847:1: error: redefinition of 'nvaa_clock_tidy'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:402:1: note: previous definition of 'nvaa_clock_tidy' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:852:1: error: redefinition of 'nvaa_domains'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:407:1: note: previous definition of 'nvaa_domains' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:862:1: error: redefinition of 'nvaa_clock_ctor'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:417:1: note: previous definition of 'nvaa_clock_ctor' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:882:1: error: redefinition of 'nvaa_clock_oclass'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:437:1: note: previous definition of 'nvaa_clock_oclass' was here
make[4]: *** [drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.o] Error 1
make[3]: *** [drivers/gpu/drm/nouveau] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
Probably I'm missing a dependency.
Than I checked out drm-nouveau-next of
git://anongit.freedesktop.org/nouveau/linux-2.6 and tried again. This time it
worked. Thank you. Will the fix wander to upstream before v3.13?
Otherwise I would appreciate a heads-up when it wanders upstream, so
that I can test again.
[ 7.964230] nouveau [ DEVICE][0000:02:00.0] BOOT0 : 0x0ac080b1
[ 7.964232] nouveau [ DEVICE][0000:02:00.0] Chipset: MCP79/MCP7A (NVAC)
[ 7.964233] nouveau [ DEVICE][0000:02:00.0] Family : NV50
[ 7.965828] nouveau [ VBIOS][0000:02:00.0] checking PRAMIN for image...
[ 8.027695] nouveau [ VBIOS][0000:02:00.0] ... appears to be valid
[ 8.027769] nouveau [ VBIOS][0000:02:00.0] using image from PRAMIN
[ 8.028070] nouveau [ VBIOS][0000:02:00.0] BIT signature found
[ 8.028134] nouveau [ VBIOS][0000:02:00.0] version 62.79.4e.00.01
[ 8.061976] nouveau [ PFB][0000:02:00.0] RAM type: stolen system memory
[ 8.062051] nouveau [ PFB][0000:02:00.0] RAM size: 256 MiB
[ 8.062122] nouveau [ PFB][0000:02:00.0] ZCOMP: 0 tags
[ 8.086562] [TTM] Zone kernel: Available graphics memory: 1887908 kiB
[ 8.086633] [TTM] Initializing pool allocator
[ 8.086707] [TTM] Initializing DMA pool allocator
[ 8.088703] nouveau [ DRM] VRAM: 256 MiB
[ 8.088774] nouveau [ DRM] GART: 512 MiB
[ 8.088843] nouveau [ DRM] BIT BIOS found
[ 8.088902] nouveau [ DRM] Bios version 62.79.4e.00
[ 8.088969] nouveau [ DRM] TMDS table version 2.0
[ 8.089030] nouveau [ DRM] DCB version 4.0
[ 8.089096] nouveau [ DRM] DCB outp 00: 02021286 0f220010
[ 8.089157] nouveau [ DRM] DCB outp 01: 01000122 00000010
[ 8.089222] nouveau [ DRM] DCB outp 02: 01000120 0000001e
[ 8.089283] nouveau [ DRM] DCB outp 03: 02021232 00000010
[ 8.089349] nouveau [ DRM] DCB conn 00: 00001020
[ 8.089459] nouveau [ DRM] DCB conn 01: 0000a146
[ 8.089565] nouveau [ DRM] DCB conn 02: 00005246
[ 8.099341] nouveau W[ DRM] unknown connector type 20
[ 8.100025] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 8.100090] [drm] No driver support for vblank timestamp query.
[ 8.300673] nouveau [ DRM] 4 available performance level(s)
[ 8.300759] nouveau [ DRM] 0: core 150MHz shader 300MHz voltage 900mV fanspeed 100%
[ 8.300839] nouveau [ DRM] 1: core 150MHz shader 300MHz voltage 900mV fanspeed 100%
[ 8.300921] nouveau [ DRM] 2: core 350MHz shader 800MHz voltage 900mV fanspeed 100%
[ 8.301001] nouveau [ DRM] 3: core 450MHz shader 1100MHz voltage 1010mV fanspeed 100%
[ 8.301080] nouveau [ DRM] c:
[ 8.325812] nouveau [ DRM] MM: using M2MF for buffer copies
Cheers,
Thomas
WARNING: multiple messages have this Message-ID (diff)
From: Thomas Glanzmann <thomas@glanzmann.de>
To: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Ben Skeggs <bskeggs@redhat.com>,
LKML <linux-kernel@vger.kernel.org>,
"nouveau@lists.freedesktop.org" <nouveau@lists.freedesktop.org>
Subject: Re: Regression: drm/nouveau/clk: implement power state and engine clock control in core (7c856522069755ab9d163a24ac332cd3cb35fe30) breaks GeForce 9400 on Intel Mac Mini Model November 2010 model
Date: Fri, 6 Dec 2013 14:30:15 +0100 [thread overview]
Message-ID: <20131206133015.GA27211@glanzmann.de> (raw)
In-Reply-To: <CAKb7Uvht8=ydSgCe-mKpoR3LRvf1KJw2_CAV_0zeh2t4nt9nww@mail.gmail.com>
Hello Ilia,
> > [ 7.569394] nouveau [ DEVICE][0000:02:00.0] BOOT0 : 0x0ac080b1
> > [ 7.569460] nouveau [ DEVICE][0000:02:00.0] Chipset: MCP79/MCP7A (NVAC)
> > [ 7.569530] nouveau [ DEVICE][0000:02:00.0] Family : NV50
> > [ 7.571151] nouveau [ VBIOS][0000:02:00.0] checking PRAMIN for image...
> > [ 7.633082] nouveau [ VBIOS][0000:02:00.0] ... appears to be valid
> > [ 7.633155] nouveau [ VBIOS][0000:02:00.0] using image from PRAMIN
> > [ 7.633468] nouveau [ VBIOS][0000:02:00.0] BIT signature found
> > [ 7.633533] nouveau [ VBIOS][0000:02:00.0] version 62.79.4e.00.01
> > [ 7.654309] nouveau [ PMC][0000:02:00.0] MSI interrupts enabled
> > [ 7.654417] nouveau [ PFB][0000:02:00.0] RAM type: stolen system memory
> > [ 7.654481] nouveau [ PFB][0000:02:00.0] RAM size: 256 MiB
> > [ 7.654546] nouveau [ PFB][0000:02:00.0] ZCOMP: 0 tags
> > [ 7.687282] nouveau [ PTHERM][0000:02:00.0] FAN control: none / external
> > [ 7.687366] nouveau [ PTHERM][0000:02:00.0] fan management: automatic
> > [ 7.687429] nouveau [ PTHERM][0000:02:00.0] internal sensor: yes
> > [ 7.687500] nouveau [ CLK][0000:02:00.0] 03: core 150 MHz shader 300 MHz
> > [ 7.687575] nouveau [ CLK][0000:02:00.0] 05: core 150 MHz shader 300 MHz
> > [ 7.687648] nouveau [ CLK][0000:02:00.0] 0e: core 350 MHz shader 800 MHz
> > [ 7.687721] nouveau [ CLK][0000:02:00.0] 0f: core 450 MHz shader 1100 MHz
> > [ 7.687806] nouveau E[ CLK][0000:02:00.0] 17 freq unknown
> > [ 7.687867] nouveau E[ CLK][0000:02:00.0] init failed, -22
> http://lists.freedesktop.org/archives/nouveau/2013-December/015304.html
thank you. I tried to cherry pick this patch on top of Linux tip, but
was not able to:
CC [M] drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.o
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:478:8: error: redefinition of 'struct nvaa_clock_priv'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:33:8: note: originally defined here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:488:1: error: redefinition of 'read_div'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:43:1: note: previous definition of 'read_div' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:494:1: error: redefinition of 'read_pll'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:49:1: note: previous definition of 'read_pll' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:525:1: error: redefinition of 'nvaa_clock_read'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:80:1: note: previous definition of 'nvaa_clock_read' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:607:1: error: conflicting types for 'calc_pll'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:162:1: note: previous definition of 'calc_pll' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:628:1: error: redefinition of 'calc_P'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:183:1: note: previous definition of 'calc_P' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:646:1: error: redefinition of 'nvaa_clock_calc'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:201:1: note: previous definition of 'nvaa_clock_calc' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:744:1: error: redefinition of 'nvaa_clock_prog'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:299:1: note: previous definition of 'nvaa_clock_prog' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:847:1: error: redefinition of 'nvaa_clock_tidy'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:402:1: note: previous definition of 'nvaa_clock_tidy' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:852:1: error: redefinition of 'nvaa_domains'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:407:1: note: previous definition of 'nvaa_domains' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:862:1: error: redefinition of 'nvaa_clock_ctor'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:417:1: note: previous definition of 'nvaa_clock_ctor' was here
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:882:1: error: redefinition of 'nvaa_clock_oclass'
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c:437:1: note: previous definition of 'nvaa_clock_oclass' was here
make[4]: *** [drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.o] Error 1
make[3]: *** [drivers/gpu/drm/nouveau] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
Probably I'm missing a dependency.
Than I checked out drm-nouveau-next of
git://anongit.freedesktop.org/nouveau/linux-2.6 and tried again. This time it
worked. Thank you. Will the fix wander to upstream before v3.13?
Otherwise I would appreciate a heads-up when it wanders upstream, so
that I can test again.
[ 7.964230] nouveau [ DEVICE][0000:02:00.0] BOOT0 : 0x0ac080b1
[ 7.964232] nouveau [ DEVICE][0000:02:00.0] Chipset: MCP79/MCP7A (NVAC)
[ 7.964233] nouveau [ DEVICE][0000:02:00.0] Family : NV50
[ 7.965828] nouveau [ VBIOS][0000:02:00.0] checking PRAMIN for image...
[ 8.027695] nouveau [ VBIOS][0000:02:00.0] ... appears to be valid
[ 8.027769] nouveau [ VBIOS][0000:02:00.0] using image from PRAMIN
[ 8.028070] nouveau [ VBIOS][0000:02:00.0] BIT signature found
[ 8.028134] nouveau [ VBIOS][0000:02:00.0] version 62.79.4e.00.01
[ 8.061976] nouveau [ PFB][0000:02:00.0] RAM type: stolen system memory
[ 8.062051] nouveau [ PFB][0000:02:00.0] RAM size: 256 MiB
[ 8.062122] nouveau [ PFB][0000:02:00.0] ZCOMP: 0 tags
[ 8.086562] [TTM] Zone kernel: Available graphics memory: 1887908 kiB
[ 8.086633] [TTM] Initializing pool allocator
[ 8.086707] [TTM] Initializing DMA pool allocator
[ 8.088703] nouveau [ DRM] VRAM: 256 MiB
[ 8.088774] nouveau [ DRM] GART: 512 MiB
[ 8.088843] nouveau [ DRM] BIT BIOS found
[ 8.088902] nouveau [ DRM] Bios version 62.79.4e.00
[ 8.088969] nouveau [ DRM] TMDS table version 2.0
[ 8.089030] nouveau [ DRM] DCB version 4.0
[ 8.089096] nouveau [ DRM] DCB outp 00: 02021286 0f220010
[ 8.089157] nouveau [ DRM] DCB outp 01: 01000122 00000010
[ 8.089222] nouveau [ DRM] DCB outp 02: 01000120 0000001e
[ 8.089283] nouveau [ DRM] DCB outp 03: 02021232 00000010
[ 8.089349] nouveau [ DRM] DCB conn 00: 00001020
[ 8.089459] nouveau [ DRM] DCB conn 01: 0000a146
[ 8.089565] nouveau [ DRM] DCB conn 02: 00005246
[ 8.099341] nouveau W[ DRM] unknown connector type 20
[ 8.100025] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 8.100090] [drm] No driver support for vblank timestamp query.
[ 8.300673] nouveau [ DRM] 4 available performance level(s)
[ 8.300759] nouveau [ DRM] 0: core 150MHz shader 300MHz voltage 900mV fanspeed 100%
[ 8.300839] nouveau [ DRM] 1: core 150MHz shader 300MHz voltage 900mV fanspeed 100%
[ 8.300921] nouveau [ DRM] 2: core 350MHz shader 800MHz voltage 900mV fanspeed 100%
[ 8.301001] nouveau [ DRM] 3: core 450MHz shader 1100MHz voltage 1010mV fanspeed 100%
[ 8.301080] nouveau [ DRM] c:
[ 8.325812] nouveau [ DRM] MM: using M2MF for buffer copies
Cheers,
Thomas
next prev parent reply other threads:[~2013-12-06 13:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-06 7:44 Regression: drm/nouveau/clk: implement power state and engine clock control in core (7c856522069755ab9d163a24ac332cd3cb35fe30) breaks GeForce 9400 on Intel Mac Mini Model November 2010 model Thomas Glanzmann
[not found] ` <20131206074455.GB21029-U3NvvseaQwJn68oJJulU0Q@public.gmane.org>
2013-12-06 11:45 ` Ilia Mirkin
2013-12-06 11:45 ` Ilia Mirkin
[not found] ` <CAKb7Uvht8=ydSgCe-mKpoR3LRvf1KJw2_CAV_0zeh2t4nt9nww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-12-06 13:30 ` Thomas Glanzmann [this message]
2013-12-06 13:30 ` Thomas Glanzmann
[not found] ` <20131206133015.GA27211-U3NvvseaQwJn68oJJulU0Q@public.gmane.org>
2013-12-06 13:38 ` Ilia Mirkin
2013-12-06 13:38 ` Ilia Mirkin
[not found] ` <CAKb7UvhgboLR_w_15dk+t_s3EkJDgHQgN5ASfAOvJJ-ACfrRuw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-12-06 14:13 ` Thomas Glanzmann
2013-12-06 14:13 ` Thomas Glanzmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131206133015.GA27211@glanzmann.de \
--to=thomas-u3nvvseaqwjn68ojjulu0q@public.gmane.org \
--cc=bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.