diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2018-07-11 17:56:32 +0200 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2018-07-11 22:25:51 +0200 |
commit | ae61f61fa802c829fa8d505587f9b337e63ea586 (patch) | |
tree | 5a53d77d68e6ae979a963e3cc3ed0fce73955ef0 /crypto | |
parent | 5685ca0ca292b656086085dc3847f10e7ff85225 (diff) | |
download | linux-ae61f61fa802c829fa8d505587f9b337e63ea586.tar.bz2 |
drm/client: Fix: drm_client_new: Don't require DRM to be registered
Commit 894a677f4b3e ("drm/cma-helper: Use the generic fbdev emulation")
broke almost all drivers that use the CMA helper.
The reason is that drm_client_new() requires that the DRM device has
been registered, but the drivers register fbdev before registering DRM.
Remove the requirement that DRM should be registered when creating a
new client.
Fixes: c76f0f7cb546 ("drm: Begin an API for in-kernel clients")
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Icenowy Zheng <icenowy@aosc.io>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Tested-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180711155632.37437-1-noralf@tronnes.org
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions