Revert "drm/fb-helper: improve DRM fbdev emulation device names"
authorJavier Martinez Canillas <javierm@redhat.com>
Wed, 20 Oct 2021 16:57:40 +0000 (18:57 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Thu, 9 Dec 2021 12:22:31 +0000 (13:22 +0100)
commit842470c4e211f284a224842849b1fa81b130c154
tree1bc70513b5e6e965f6eb84788597807b4c08139f
parentb19926d4f3a660a8b76e5d989ffd1168e619a5c4
Revert "drm/fb-helper: improve DRM fbdev emulation device names"

This reverts commit b3484d2b03e4c940a9598aa841a52d69729c582a.

That change attempted to improve the DRM drivers fbdev emulation device
names to avoid having confusing names like "simpledrmdrmfb" in /proc/fb.

But unfortunately, there are user-space programs such as pm-utils that
match against the fbdev names and so broke after the mentioned commit.

Since the names in /proc/fb are used by tools that consider it an uAPI,
let's restore the old names even when this lead to silly names like the
one mentioned above.

Fixes: b3484d2b03e4 ("drm/fb-helper: improve DRM fbdev emulation device names")
Reported-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211020165740.3011927-1-javierm@redhat.com
drivers/gpu/drm/drm_fb_helper.c