]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Assign linear_pitch_alignment even for VM
authorAlvin Lee <alvin.lee2@amd.com>
Tue, 16 Apr 2024 18:42:18 +0000 (14:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:56:38 +0000 (09:56 -0400)
commit984debc133efa05e62f5aa1a7a1dd8ca0ef041f4
tree482c340d5d9649b2284cbae5fda2841ec48c180c
parentf9c7818c9d653e40dbd3c7e9c857e5b00dfca622
drm/amd/display: Assign linear_pitch_alignment even for VM

[Description]
Assign linear_pitch_alignment so we don't cause a divide by 0
error in VM environments

Reviewed-by: Sohaib Nadeem <sohaib.nadeem@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c