linux-stable/drivers/gpu/drm/xen
Daniel Vetter 93adc0c2cb drm/xen: Simplify fb_create
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->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 <oleksandr_andrushchenko@epam.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Cc: xen-devel@lists.xenproject.org
Link: https://patchwork.freedesktop.org/patch/msgid/20191115092120.4445-7-daniel.vetter@ffwll.ch
2019-11-19 22:25:55 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drm/xen-front: Use Xen common shared buffer implementation 2018-12-18 12:16:13 -05:00
xen_drm_front.c xen: fixes for 5.4-rc3 2019-10-12 14:11:21 -07:00
xen_drm_front.h drm/xen: drop use of drmP.h 2019-07-15 18:11:30 +02:00
xen_drm_front_cfg.c drm/xen: drop use of drmP.h 2019-07-15 18:11:30 +02:00
xen_drm_front_cfg.h
xen_drm_front_conn.c drm/xen: drop use of drmP.h 2019-07-15 18:11:30 +02:00
xen_drm_front_conn.h drm/xen: drop use of drmP.h 2019-07-15 18:11:30 +02:00
xen_drm_front_evtchnl.c drm/xen: drop use of drmP.h 2019-07-15 18:11:30 +02:00
xen_drm_front_evtchnl.h
xen_drm_front_gem.c drm/xen: drop use of drmP.h 2019-07-15 18:11:30 +02:00
xen_drm_front_gem.h drm/xen: drop use of drmP.h 2019-07-15 18:11:30 +02:00
xen_drm_front_kms.c drm/xen: Simplify fb_create 2019-11-19 22:25:55 +01:00
xen_drm_front_kms.h