diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-07-12 11:37:00 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-07-16 13:02:39 -0500 |
commit | 7e446b3c76b4ef0d3808305c0a51f895236b37bf (patch) | |
tree | 33bb05e0d2f78affc3677d4345f0225caf2dcf6f /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | 64974ab24908a92b5dfe52e1ace3d67c47d657cb (diff) |
drm/amd/display: Support clang option for stack alignment
As previously fixed for dml in commit 4769278e5c7f ("amdgpu/dc/dml:
Support clang option for stack alignment") and calcs in commit
cc32ad8f559c ("amdgpu/dc/calcs: Support clang option for stack
alignment"), dcn20 uses an option that is not available with clang:
clang: error: unknown argument: '-mpreferred-stack-boundary=4'
scripts/Makefile.build:281: recipe for target 'drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.o' failed
Use the same trick that we have in the other two files.
Fixes: 7ed4e6352c16 ("drm/amd/display: Add DCN2 HW Sequencer and Resource")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions