From: Hans de Goede <hdegoede@redhat.com>
To: Ben Skeggs <skeggsb@gmail.com>
Cc: "nouveau@lists.freedesktop.org" <nouveau@lists.freedesktop.org>,
Ben Skeggs <bskeggs@redhat.com>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>
Subject: Re: [Nouveau] [PATCH] nouveau: nv46: Change mc subdev oclass from nv44 to nv4c
Date: Fri, 24 Jul 2015 11:23:59 +0200 [thread overview]
Message-ID: <55B2042F.9090902@redhat.com> (raw)
In-Reply-To: <CACAvsv5JivdVt94qkv0FBqH=ero6UkeUpc2KjDNeQLL_DSgGDw@mail.gmail.com>
Hi,
On 24-07-15 04:32, Ben Skeggs wrote:
> On 24 July 2015 at 01:20, Hans de Goede <hdegoede@redhat.com> wrote:
>> MSI interrupts appear to not work for nv46 based cards. Change the mc
>> subdev oclass for these cards from nv44 to nv4c, the nv4c mc code is
>> identical to the nv44 mc code except that it does not use msi
>> (it does not define a msi_rearm callback).
> I'm fine with this, but it'd be nice to check that the binary driver
> doesn't/can't use MSI on these too (there might be an alternate method
> we need to use).
>
> Would you be able to grab the latest proprietary driver that works on
> nv4x, and do a mmiotrace of it? You *might* need to use "modprobe
> nvidia NVreg_EnableMSI=1", because at some point NVIDIA didn't use it
> by default anywhere.
Will do first thing coming monday.
Regards,
Hans
>
> Thanks,
> Ben.
>
>> BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=90435
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>> ---
>> drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c
>> index c630136..b4ad791 100644
>> --- a/drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c
>> +++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c
>> @@ -265,7 +265,7 @@ nv40_identify(struct nvkm_device *device)
>> device->oclass[NVDEV_SUBDEV_CLK ] = &nv40_clk_oclass;
>> device->oclass[NVDEV_SUBDEV_THERM ] = &nv40_therm_oclass;
>> device->oclass[NVDEV_SUBDEV_DEVINIT] = nv1a_devinit_oclass;
>> - device->oclass[NVDEV_SUBDEV_MC ] = nv44_mc_oclass;
>> + device->oclass[NVDEV_SUBDEV_MC ] = nv4c_mc_oclass;
>> device->oclass[NVDEV_SUBDEV_BUS ] = nv31_bus_oclass;
>> device->oclass[NVDEV_SUBDEV_TIMER ] = &nv04_timer_oclass;
>> device->oclass[NVDEV_SUBDEV_FB ] = nv46_fb_oclass;
>> --
>> 2.4.3
>>
>> _______________________________________________
>> Nouveau mailing list
>> Nouveau@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/nouveau
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-07-24 9:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-23 15:20 [PATCH] nouveau: nv46: Change mc subdev oclass from nv44 to nv4c Hans de Goede
[not found] ` <1437664812-5943-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-24 2:32 ` Ben Skeggs
[not found] ` <CACAvsv5JivdVt94qkv0FBqH=ero6UkeUpc2KjDNeQLL_DSgGDw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-24 2:39 ` Ilia Mirkin
[not found] ` <CAKb7UvhRhX6988JfUNkokcnTq+RiHb1p1Y7L3dq78oyT445yng-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-24 2:56 ` Ben Skeggs
2015-07-24 9:23 ` Hans de Goede [this message]
2015-07-27 15:52 ` [Nouveau] " Hans de Goede
[not found] ` <55B653B7.2030402-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-27 16:25 ` Ilia Mirkin
2015-07-30 12:42 ` Hans de Goede
2015-07-28 7:26 ` [Nouveau] " Ben Skeggs
2015-07-29 15:36 ` Hans de Goede
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=55B2042F.9090902@redhat.com \
--to=hdegoede@redhat.com \
--cc=bskeggs@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=nouveau@lists.freedesktop.org \
--cc=skeggsb@gmail.com \
/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.