diff options
author | Dave Airlie <airlied@redhat.com> | 2018-09-27 19:31:03 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-09-27 19:36:48 -0400 |
commit | 156e60bc71aa31a3b42b1d66a822c2999bd0994c (patch) | |
tree | dbc2fa3c30c78b1465aa29ca37fefbb8a16bde8e /drivers/gpu/drm/pl111 | |
parent | bf78296ab1cb215d0609ac6cff4e43e941e51265 (diff) | |
parent | c2b70ffcd34eca60013d90bd6cd56e60b07adef8 (diff) |
Merge tag 'drm-misc-next-2018-09-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-next for 4.20:
UAPI Changes:
- None
Cross-subsystem Changes:
- MAINTAINERS: Move udl, mxsfb, and fsl-dcu into drm-misc (Stefan, Sean)
Core Changes:
- syncobj: Check condition before returning timeout in schedule() (Chris)
Driver Changes:
- various: First wave of drm_fbdev_generic_setup() conversions (Noralf)
- bochs/virtio: More format byte-order improvements (Gerd)
- mxsfb: A couple fixes + add runtime pm support (Leonard)
- virtio: Add vmap support for prime objects (Ezequiel)
Cc: Stefan Agner <stefan@agner.ch>
Cc: Sean Paul <sean@poorly.run>
Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: Gerd Hoffman <kraxel@redhat.com>
Cc: Leonard Crestez <leonard.crestez@nxp.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20180927093950.GA180365@art_vandelay
Diffstat (limited to 'drivers/gpu/drm/pl111')
-rw-r--r-- | drivers/gpu/drm/pl111/pl111_drv.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/pl111/pl111_drv.c b/drivers/gpu/drm/pl111/pl111_drv.c index 47fe30223444..33e0483d62ae 100644 --- a/drivers/gpu/drm/pl111/pl111_drv.c +++ b/drivers/gpu/drm/pl111/pl111_drv.c | |||
@@ -194,8 +194,6 @@ static int pl111_modeset_init(struct drm_device *dev) | |||
194 | 194 | ||
195 | drm_mode_config_reset(dev); | 195 | drm_mode_config_reset(dev); |
196 | 196 | ||
197 | drm_fb_cma_fbdev_init(dev, priv->variant->fb_bpp, 0); | ||
198 | |||
199 | drm_kms_helper_poll_init(dev); | 197 | drm_kms_helper_poll_init(dev); |
200 | 198 | ||
201 | goto finish; | 199 | goto finish; |
@@ -232,7 +230,6 @@ DEFINE_DRM_GEM_CMA_FOPS(drm_fops); | |||
232 | static struct drm_driver pl111_drm_driver = { | 230 | static struct drm_driver pl111_drm_driver = { |
233 | .driver_features = | 231 | .driver_features = |
234 | DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC, | 232 | DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC, |
235 | .lastclose = drm_fb_helper_lastclose, | ||
236 | .ioctls = NULL, | 233 | .ioctls = NULL, |
237 | .fops = &drm_fops, | 234 | .fops = &drm_fops, |
238 | .name = "pl111", | 235 | .name = "pl111", |
@@ -332,6 +329,8 @@ static int pl111_amba_probe(struct amba_device *amba_dev, | |||
332 | if (ret < 0) | 329 | if (ret < 0) |
333 | goto dev_put; | 330 | goto dev_put; |
334 | 331 | ||
332 | drm_fbdev_generic_setup(drm, priv->variant->fb_bpp); | ||
333 | |||
335 | return 0; | 334 | return 0; |
336 | 335 | ||
337 | dev_put: | 336 | dev_put: |
@@ -348,7 +347,6 @@ static int pl111_amba_remove(struct amba_device *amba_dev) | |||
348 | struct pl111_drm_dev_private *priv = drm->dev_private; | 347 | struct pl111_drm_dev_private *priv = drm->dev_private; |
349 | 348 | ||
350 | drm_dev_unregister(drm); | 349 | drm_dev_unregister(drm); |
351 | drm_fb_cma_fbdev_fini(drm); | ||
352 | if (priv->panel) | 350 | if (priv->panel) |
353 | drm_panel_bridge_remove(priv->bridge); | 351 | drm_panel_bridge_remove(priv->bridge); |
354 | drm_mode_config_cleanup(drm); | 352 | drm_mode_config_cleanup(drm); |