drm/amdgpu: Don't set struct drm_driver.output_poll_changed
Don't set struct drm_driver.output_poll_changed. It's used to restore the fbdev console. But as amdgpu uses generic fbdev emulation, the console is being restored by the DRM client helpers already. See the functions drm_kms_helper_hotplug_event() and drm_kms_helper_connector_hotplug_event() in drm_probe_helper.c. v2: * fix commit description (Christian) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221103151446.2638-5-tzimmermann@suse.de
This commit is contained in:
parent
65795e273a
commit
0e3172bac3
|
@ -1214,7 +1214,6 @@ amdgpu_display_user_framebuffer_create(struct drm_device *dev,
|
||||||
|
|
||||||
const struct drm_mode_config_funcs amdgpu_mode_funcs = {
|
const struct drm_mode_config_funcs amdgpu_mode_funcs = {
|
||||||
.fb_create = amdgpu_display_user_framebuffer_create,
|
.fb_create = amdgpu_display_user_framebuffer_create,
|
||||||
.output_poll_changed = drm_fb_helper_output_poll_changed,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct drm_prop_enum_list amdgpu_underscan_enum_list[] =
|
static const struct drm_prop_enum_list amdgpu_underscan_enum_list[] =
|
||||||
|
|
|
@ -82,7 +82,6 @@
|
||||||
#include <drm/drm_atomic_uapi.h>
|
#include <drm/drm_atomic_uapi.h>
|
||||||
#include <drm/drm_atomic_helper.h>
|
#include <drm/drm_atomic_helper.h>
|
||||||
#include <drm/drm_blend.h>
|
#include <drm/drm_blend.h>
|
||||||
#include <drm/drm_fb_helper.h>
|
|
||||||
#include <drm/drm_fourcc.h>
|
#include <drm/drm_fourcc.h>
|
||||||
#include <drm/drm_edid.h>
|
#include <drm/drm_edid.h>
|
||||||
#include <drm/drm_vblank.h>
|
#include <drm/drm_vblank.h>
|
||||||
|
@ -2810,7 +2809,6 @@ const struct amdgpu_ip_block_version dm_ip_block =
|
||||||
static const struct drm_mode_config_funcs amdgpu_dm_mode_funcs = {
|
static const struct drm_mode_config_funcs amdgpu_dm_mode_funcs = {
|
||||||
.fb_create = amdgpu_display_user_framebuffer_create,
|
.fb_create = amdgpu_display_user_framebuffer_create,
|
||||||
.get_format_info = amd_get_format_info,
|
.get_format_info = amd_get_format_info,
|
||||||
.output_poll_changed = drm_fb_helper_output_poll_changed,
|
|
||||||
.atomic_check = amdgpu_dm_atomic_check,
|
.atomic_check = amdgpu_dm_atomic_check,
|
||||||
.atomic_commit = drm_atomic_helper_commit,
|
.atomic_commit = drm_atomic_helper_commit,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue