[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAVeFuJAs4EY0Tu0Vygy4Oa0j3O=k4TV8NELnirJw+rwF1F7Xg@mail.gmail.com>
Date: Wed, 2 Apr 2014 23:19:10 +0900
From: Alexandre Courbot <gnurou@...il.com>
To: Ben Skeggs <skeggsb@...il.com>
Cc: Alexandre Courbot <acourbot@...dia.com>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"nouveau@...ts.freedesktop.org" <nouveau@...ts.freedesktop.org>,
Ben Skeggs <bskeggs@...hat.com>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [Nouveau] [PATCH 12/12] drm/nouveau: support for probing GK20A
On Wed, Mar 26, 2014 at 1:28 PM, Ben Skeggs <skeggsb@...il.com> wrote:
> On Mon, Mar 24, 2014 at 6:42 PM, Alexandre Courbot <acourbot@...dia.com> wrote:
>> Set the correct subdev/engine classes when GK20A (0xea) is probed.
>>
>> Signed-off-by: Alexandre Courbot <acourbot@...dia.com>
>> ---
>> drivers/gpu/drm/nouveau/core/engine/device/nve0.c | 20 ++++++++++++++++++++
>> 1 file changed, 20 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c b/drivers/gpu/drm/nouveau/core/engine/device/nve0.c
>> index 987edbc30a09..8509dd57de1f 100644
>> --- a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c
>> +++ b/drivers/gpu/drm/nouveau/core/engine/device/nve0.c
>> @@ -156,6 +156,26 @@ nve0_identify(struct nouveau_device *device)
>> device->oclass[NVDEV_ENGINE_PPP ] = &nvc0_ppp_oclass;
>> device->oclass[NVDEV_ENGINE_PERFMON] = &nve0_perfmon_oclass;
>> break;
>> + case 0xea:
>> + device->cname = "GK20A";
>> + device->oclass[NVDEV_SUBDEV_MC ] = nvc3_mc_oclass;
>> + device->oclass[NVDEV_SUBDEV_BUS ] = nvc0_bus_oclass;
>> + device->oclass[NVDEV_SUBDEV_TIMER ] = &nv04_timer_oclass;
> As per note on the PTIMER patch, can just switch this to
> "gk20a_timer_oclass" on the latest code.
Just saw your patch and will try to use it for the next version (if I
can figure out how to reapply it to a Linux tree).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists