<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/xen, branch linux-5.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-08-19T06:24:19Z</updated>
<entry>
<title>drm/xen-front: Fix misused IS_ERR_OR_NULL checks</title>
<updated>2020-08-19T06:24:19Z</updated>
<author>
<name>Oleksandr Andrushchenko</name>
</author>
<published>2020-08-13T06:21:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e21df17c8e38d492eb6b225616ef4289e05867ac'/>
<id>urn:sha1:e21df17c8e38d492eb6b225616ef4289e05867ac</id>
<content type='text'>
commit 14dee058610446aa464254fc5c8e88c7535195e0 upstream.

The patch c575b7eeb89f: "drm/xen-front: Add support for Xen PV
display frontend" from Apr 3, 2018, leads to the following static
checker warning:

	drivers/gpu/drm/xen/xen_drm_front_gem.c:140 xen_drm_front_gem_create()
	warn: passing zero to 'ERR_CAST'

drivers/gpu/drm/xen/xen_drm_front_gem.c
   133  struct drm_gem_object *xen_drm_front_gem_create(struct drm_device *dev,
   134                                                  size_t size)
   135  {
   136          struct xen_gem_object *xen_obj;
   137
   138          xen_obj = gem_create(dev, size);
   139          if (IS_ERR_OR_NULL(xen_obj))
   140                  return ERR_CAST(xen_obj);

Fix this and the rest of misused places with IS_ERR_OR_NULL in the
driver.

Fixes:  c575b7eeb89f: "drm/xen-front: Add support for Xen PV display frontend"

Signed-off-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Link: https://lore.kernel.org/r/20200813062113.11030-3-andr2000@gmail.com
Signed-off-by: Juergen Gross &lt;jgross@suse.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>drm/xen: fix passing zero to 'PTR_ERR' warning</title>
<updated>2020-03-31T15:14:51Z</updated>
<author>
<name>Ding Xiang</name>
</author>
<published>2020-03-30T09:59:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c1cb04e0e7ac4ba1ef5457929ef9b5671d9eed3'/>
<id>urn:sha1:4c1cb04e0e7ac4ba1ef5457929ef9b5671d9eed3</id>
<content type='text'>
Fix a static code checker warning:
    drivers/gpu/drm/xen/xen_drm_front.c:404 xen_drm_drv_dumb_create()
    warn: passing zero to 'PTR_ERR'

Signed-off-by: Ding Xiang &lt;dingxiang@cmss.chinamobile.com&gt;
Reviewed-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/1585562347-30214-1-git-send-email-dingxiang@cmss.chinamobile.com
</content>
</entry>
<entry>
<title>drm/xen: Explicitly disable automatic sending of vblank event</title>
<updated>2020-01-30T08:00:51Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2020-01-29T12:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3c27df2ada92c0fb2758d03782871f5872f6b2c'/>
<id>urn:sha1:a3c27df2ada92c0fb2758d03782871f5872f6b2c</id>
<content type='text'>
The atomic helpers automatically send out fake VBLANK events if no
vblanking has been initialized. This would apply to xen, but xen has
its own vblank logic. To avoid interfering with the atomic helpers,
disable automatic vblank events explicitly.

v5:
	* update comment
v4:
	* separate commit from core vblank changes

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Reviewed-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200129120531.6891-16-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/xen: Simplify fb_create</title>
<updated>2019-11-19T21:25:55Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2019-11-15T09:21:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93adc0c2cb7270a5ed1deb7fb561428da971f323'/>
<id>urn:sha1:93adc0c2cb7270a5ed1deb7fb561428da971f323</id>
<content type='text'>
The current code is a pretty good wtf moment, since we drop the
reference before we use it. It's not a big deal, because a) we only
use the pointer, so doesn't blow up and the real reason b) fb-&gt;obj[0]
already holds a full reference for us.

Might as well take the real pointer ins't of complicated games that
baffle.

Reviewed-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Cc: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Cc: xen-devel@lists.xenproject.org
Link: https://patchwork.freedesktop.org/patch/msgid/20191115092120.4445-7-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>drm/simple-kms: Standardize arguments for callbacks</title>
<updated>2019-10-24T11:55:56Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2019-10-23T10:12:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=62db7d1e1ef125be9706541c2606c6259138e898'/>
<id>urn:sha1:62db7d1e1ef125be9706541c2606c6259138e898</id>
<content type='text'>
Passing the wrong type feels icky, everywhere else we use the pipe as
the first parameter. Spotted while discussing patches with Thomas
Zimmermann.

v2: Make xen compile correctly

Acked-By: Thomas Zimmermann &lt;tzimmermann@suse.de&gt; (v1)
Cc: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Cc: Noralf Trønnes &lt;noralf@tronnes.org&gt;
Cc: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Cc: Eric Anholt &lt;eric@anholt.net&gt;
Cc: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Cc: virtualization@lists.linux-foundation.org
Cc: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191023101256.20509-1-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>Merge tag 'for-linus-5.4-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip</title>
<updated>2019-10-12T21:11:21Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2019-10-12T21:11:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=680b5b3c5d34b22695357e17b6bdd0abd83e6b1c'/>
<id>urn:sha1:680b5b3c5d34b22695357e17b6bdd0abd83e6b1c</id>
<content type='text'>
Pull xen fixes from Juergen Gross:

 - correct panic handling when running as a Xen guest

 - cleanup the Xen grant driver to remove printing a pointer being
   always NULL

 - remove a soon to be wrong call of of_dma_configure()

* tag 'for-linus-5.4-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
  xen: Stop abusing DT of_dma_configure API
  xen/grant-table: remove unnecessary printing
  x86/xen: Return from panic notifier
</content>
</entry>
<entry>
<title>xen: Stop abusing DT of_dma_configure API</title>
<updated>2019-10-10T15:43:35Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2019-10-08T19:41:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee7f5225dc3cc7c19df1603597532ff34571f895'/>
<id>urn:sha1:ee7f5225dc3cc7c19df1603597532ff34571f895</id>
<content type='text'>
As the removed comments say, these aren't DT based devices.
of_dma_configure() is going to stop allowing a NULL DT node and calling
it will no longer work.

The comment is also now out of date as of commit 9ab91e7c5c51 ("arm64:
default to the direct mapping in get_arch_dma_ops"). Direct mapping
is now the default rather than dma_dummy_ops.

According to Stefano and Oleksandr, the only other part needed is
setting the DMA masks and there's no reason to restrict the masks to
32-bits. So set the masks to 64 bits.

Cc: Robin Murphy &lt;robin.murphy@arm.com&gt;
Cc: Julien Grall &lt;julien.grall@arm.com&gt;
Cc: Nicolas Saenz Julienne &lt;nsaenzjulienne@suse.de&gt;
Cc: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Cc: Boris Ostrovsky &lt;boris.ostrovsky@oracle.com&gt;
Cc: Juergen Gross &lt;jgross@suse.com&gt;
Cc: Stefano Stabellini &lt;sstabellini@kernel.org&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: xen-devel@lists.xenproject.org
Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Acked-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Reviewed-by: Boris Ostrovsky &lt;boris.ostrovsky@oracle.com&gt;
Signed-off-by: Boris Ostrovsky &lt;boris.ostrovsky@oracle.com&gt;
</content>
</entry>
<entry>
<title>drm/xen-front: Make structure fb_funcs constant</title>
<updated>2019-08-19T05:32:52Z</updated>
<author>
<name>Nishka Dasgupta</name>
</author>
<published>2019-08-13T06:27:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d777478599f781fc5162d1ae95dbee6e5ae05a41'/>
<id>urn:sha1:d777478599f781fc5162d1ae95dbee6e5ae05a41</id>
<content type='text'>
Static structure fb_funcs, of type drm_framebuffer_funcs, is used only
when it is passed to drm_gem_fb_create_with_funcs() as its last
argument. drm_gem_fb_create_with_funcs does not modify its lst argument
(fb_funcs) and hence fb_funcs is never modified. Therefore make fb_funcs
constant to protect it from further modification.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta &lt;nishkadg.linux@gmail.com&gt;
Signed-off-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Reviewed-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190813062712.24993-1-nishkadg.linux@gmail.com
</content>
</entry>
<entry>
<title>drm/xen: drop use of drmP.h</title>
<updated>2019-07-15T16:11:30Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2019-06-30T06:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ea2269e296a0c15387b40362410c1569e77502c'/>
<id>urn:sha1:2ea2269e296a0c15387b40362410c1569e77502c</id>
<content type='text'>
The drmP.h header is deprecated.  Drop all uses.
Added includes/forwards to the header files and
then fixed fallout in the .c files.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Acked-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Acked-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Cc: xen-devel@lists.xenproject.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190630061922.7254-3-sam@ravnborg.org
</content>
</entry>
<entry>
<title>drm/xen: Drop drm_gem_prime_export/import</title>
<updated>2019-06-21T18:12:05Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2019-06-14T20:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f30dec2f82402c21b6ddf81b8f8350e72d49c90e'/>
<id>urn:sha1:f30dec2f82402c21b6ddf81b8f8350e72d49c90e</id>
<content type='text'>
They're the default.

Aside: Would be really nice to switch the others over to
drm_gem_object_funcs.

Reviewed-by: Eric Anholt &lt;eric@anholt.net&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Cc: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Cc: xen-devel@lists.xenproject.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190614203615.12639-39-daniel.vetter@ffwll.ch
</content>
</entry>
</feed>
