]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Restructure DMI quirks
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 22 Apr 2025 20:58:41 +0000 (15:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 May 2025 13:30:52 +0000 (09:30 -0400)
commitde6485e3df24170d71706d6f2c55a496443c3803
tree50c017de6a0fa53b3a5d9c35fd7b96778ec6458c
parentf8ad62c0a93e5dd94243e10f1b742232e4d6411e
drm/amd/display: Restructure DMI quirks

[Why]
DMI quirks are relatively big code that makes amdgpu_dm 200 lines
larger.

[How]
Move DMI quirks into a dedicated source file and make all quirks
variables for `struct amdgpu_display_manager`.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/Makefile
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_quirks.c [new file with mode: 0644]