Lars Seipel
2015-May-21 01:04 UTC
[Nouveau] [PATCH] drm/nouveau/gr/gf100-: fix wrong constant definition
Commit 3740c82590d8 ("drm/nouveau/gr/gf100-: add symbolic names for classes") introduced a wrong macro definition causing acceleration setup to fail. Fix it. Signed-off-by: Lars Seipel <ls at slrz.net> Fixes: 3740c82590d8 ("drm/nouveau/gr/gf100-: add symbolic names for classes") --- drivers/gpu/drm/nouveau/include/nvif/class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/include/nvif/class.h b/drivers/gpu/drm/nouveau/include/nvif/class.h index 0b5af0fe8659..64f8b2f687d2 100644 --- a/drivers/gpu/drm/nouveau/include/nvif/class.h +++ b/drivers/gpu/drm/nouveau/include/nvif/class.h @@ -14,7 +14,7 @@ #define FERMI_TWOD_A 0x0000902d -#define FERMI_MEMORY_TO_MEMORY_FORMAT_A 0x0000903d +#define FERMI_MEMORY_TO_MEMORY_FORMAT_A 0x00009039 #define KEPLER_INLINE_TO_MEMORY_A 0x0000a040 #define KEPLER_INLINE_TO_MEMORY_B 0x0000a140 -- 2.4.1
Ben Skeggs
2015-May-21 04:42 UTC
[Nouveau] [PATCH] drm/nouveau/gr/gf100-: fix wrong constant definition
On 21 May 2015 at 11:04, Lars Seipel <ls at slrz.net> wrote:> Commit 3740c82590d8 ("drm/nouveau/gr/gf100-: add symbolic names for > classes") introduced a wrong macro definition causing acceleration setup > to fail. Fix it.Oops, my apologies. I've merged the patch. Thanks, Ben.> > Signed-off-by: Lars Seipel <ls at slrz.net> > Fixes: 3740c82590d8 ("drm/nouveau/gr/gf100-: add symbolic names for classes") > --- > drivers/gpu/drm/nouveau/include/nvif/class.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/nouveau/include/nvif/class.h b/drivers/gpu/drm/nouveau/include/nvif/class.h > index 0b5af0fe8659..64f8b2f687d2 100644 > --- a/drivers/gpu/drm/nouveau/include/nvif/class.h > +++ b/drivers/gpu/drm/nouveau/include/nvif/class.h > @@ -14,7 +14,7 @@ > > #define FERMI_TWOD_A 0x0000902d > > -#define FERMI_MEMORY_TO_MEMORY_FORMAT_A 0x0000903d > +#define FERMI_MEMORY_TO_MEMORY_FORMAT_A 0x00009039 > > #define KEPLER_INLINE_TO_MEMORY_A 0x0000a040 > #define KEPLER_INLINE_TO_MEMORY_B 0x0000a140 > -- > 2.4.1 > > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/nouveau