]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Move some init routines to dm_sw_init()
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 16 May 2024 14:23:19 +0000 (10:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 May 2024 18:40:39 +0000 (14:40 -0400)
commit7920af262ad1ffa60de091794aeac9531a9d4226
tree31b69430a916a346b2f541ddfb423cea288e58ae
parentd0a6d85072b02c02697bc60f2115756aa1bf89d8
drm/amd/display: Move some init routines to dm_sw_init()

Move creation of CGS device node and the DAL allocation list from
amdgpu_dm_init() to dm_sw_init() which runs before dmub's sw init hook.

This is required for communicating with the VBIOS DMUB image from the
VBIOS that was loaded for early pre-os boot.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c