drm/amd/display: Add visualconfirm module parameter
authorLeo Li <sunpeng.li@amd.com>
Wed, 6 Jul 2022 18:48:52 +0000 (14:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 13:31:03 +0000 (09:31 -0400)
commit792a0cdde34d417bc2c8266d8015c5fd58d44a0d
tree1112584114853d16217339a29882b89b7a5bd0d8
parentf7bacd97af853a9bba9bb8d1baa12f997e60122f
drm/amd/display: Add visualconfirm module parameter

[Why]

Being able to configure visual confirm at boot or in cmdline is helpful
when debugging.

[How]

Add a module parameter to configure DC visual confirm, which works the
same way as the equivalent debugfs entry.

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c