<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/gpu/drm/nouveau/nv04_fbcon.c, branch linux-4.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.17.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.17.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2017-02-17T05:15:04Z</updated>
<entry>
<title>drm/nouveau: allocate device object for every client</title>
<updated>2017-02-17T05:15:04Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2016-05-18T03:57:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1167c6bc51880cb74a3b1a02286fc25392684281'/>
<id>urn:sha1:1167c6bc51880cb74a3b1a02286fc25392684281</id>
<content type='text'>
Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau/fbcon: make use of drm_fb_helper.dev</title>
<updated>2016-11-07T04:04:43Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2016-11-04T07:20:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9dec9280523157da820f923e18dd6a7bf99fead7'/>
<id>urn:sha1:9dec9280523157da820f923e18dd6a7bf99fead7</id>
<content type='text'>
No need to store the pointer ourselves when it's already present in
the base struct.

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau/fbcon: fix font width not divisible by 8</title>
<updated>2016-07-30T08:17:22Z</updated>
<author>
<name>Mikulas Patocka</name>
<email>mpatocka@redhat.com</email>
</author>
<published>2016-07-28T22:56:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=28668f43b8e421634e1623f72a879812288dd06b'/>
<id>urn:sha1:28668f43b8e421634e1623f72a879812288dd06b</id>
<content type='text'>
The patch f045f459d925 ("drm/nouveau/fbcon: fix out-of-bounds memory accesses")
tries to fix some out of memory accesses. Unfortunatelly, the patch breaks the
display when using fonts with width that is not divisiable by 8.

The monochrome bitmap for each character is stored in memory by lines from top
to bottom. Each line is padded to a full byte.

For example, for 22x11 font, each line is padded to 16 bits, so each
character is consuming 44 bytes total, that is 11 32-bit words. The patch
f045f459d925 changed the logic to "dsize = ALIGN(image-&gt;width *
image-&gt;height, 32) &gt;&gt; 5", that is just 8 words - this is incorrect and it
causes display corruption.

This patch adds the necesary padding of lines to 8 bytes.

This patch should be backported to stable kernels where f045f459d925 was
backported.

Signed-off-by: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Fixes: f045f459d925 ("drm/nouveau/fbcon: fix out-of-bounds memory accesses")
Cc: stable@vger.kernel.org
Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau/fbcon: fix out-of-bounds memory accesses</title>
<updated>2016-06-02T03:53:44Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2016-06-02T02:23:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f045f459d925138fe7d6193a8c86406bda7e49da'/>
<id>urn:sha1:f045f459d925138fe7d6193a8c86406bda7e49da</id>
<content type='text'>
Reported by KASAN.

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>drm/nouveau: rename nouveau_drm.h to nouveau_drv.h</title>
<updated>2016-05-20T04:43:04Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2016-05-19T23:22:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4dc28134a8c124aa01b441e1e5b8b54312edc5dd'/>
<id>urn:sha1:4dc28134a8c124aa01b441e1e5b8b54312edc5dd</id>
<content type='text'>
Fixes out-of-tree build issue where uapi/drm/nouveau_drm.h gets picked
up instead.

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau/nvif: simplify and tidy library interfaces</title>
<updated>2015-08-28T02:40:32Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2015-08-20T04:54:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a01ca78c8f118e5a24f1527ecf078ab56ddd4805'/>
<id>urn:sha1:a01ca78c8f118e5a24f1527ecf078ab56ddd4805</id>
<content type='text'>
A variety of tweaks to the NVIF library interfaces, mostly ripping out
things that turned out to be not so useful.

- Removed refcounting from nvif_object, callers are expected to not be
  stupid instead.
- nvif_client is directly reachable from anything derived from nvif_object,
  removing the need for heuristics to locate it
- _new() versions of interfaces, that allocate memory for the object
  they construct, have been removed.  The vast majority of callers used
  the embedded _init() interfaces.
- No longer storing constructor arguments (and the data returned from
  nvkm) inside nvif_object, it's more or less unused and just wastes
  memory.

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau/fbcon/nv11-: correctly account for ring space usage</title>
<updated>2015-07-27T08:56:10Z</updated>
<author>
<name>Ilia Mirkin</name>
<email>imirkin@alum.mit.edu</email>
</author>
<published>2015-06-29T08:07:20Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d108142c0840ce389cd9898aa76943b3fb430b83'/>
<id>urn:sha1:d108142c0840ce389cd9898aa76943b3fb430b83</id>
<content type='text'>
The RING_SPACE macro accounts how much space is used up so it's
important to ask it for the right amount. Incorrect accounting of this
can cause page faults down the line as writes are attempted outside of
the ring.

Signed-off-by: Ilia Mirkin &lt;imirkin@alum.mit.edu&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau: remove as much direct use of core headers as possible</title>
<updated>2014-08-09T19:13:16Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2014-08-09T18:10:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fdb751ef2bbc78314d1e01d3425cfacfb19b9f86'/>
<id>urn:sha1:fdb751ef2bbc78314d1e01d3425cfacfb19b9f86</id>
<content type='text'>
Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau: remove (most) hardcoded object handle usage</title>
<updated>2014-08-09T19:13:15Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2014-08-09T18:10:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f45f55c4bbf8a9f9c607e5f6013abac60427e3f7'/>
<id>urn:sha1:f45f55c4bbf8a9f9c607e5f6013abac60427e3f7</id>
<content type='text'>
The PFIFO&lt;-&gt;EVO sync buffers will be fixed up later when inter-channel
sync in general is improved.

Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/nouveau: port to nvif client/device/objects</title>
<updated>2014-08-09T19:13:14Z</updated>
<author>
<name>Ben Skeggs</name>
<email>bskeggs@redhat.com</email>
</author>
<published>2014-08-09T18:10:22Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0ad72863ea426d46b2786cba9430e122a40aad0b'/>
<id>urn:sha1:0ad72863ea426d46b2786cba9430e122a40aad0b</id>
<content type='text'>
Signed-off-by: Ben Skeggs &lt;bskeggs@redhat.com&gt;
</content>
</entry>
</feed>
