OSDN Git Service

drm/amd/amdgpu: enable W=1 for amdgpu
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Fri, 9 Jun 2023 15:31:04 +0000 (11:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 14:42:42 +0000 (10:42 -0400)
commit8020f0f9316b6961fe384031b4780e764eeb9652
tree4f505df3e754da4cd36729286874af4b6afe4c8b
parente06da81749716ee3f0404fada97882609921d98f
drm/amd/amdgpu: enable W=1 for amdgpu

We have a clean build with W=1 as of
commit c168feed5d03 ("drm/amd/display/amdgpu_dm/amdgpu_dm_helpers: Move
SYNAPTICS_DEVICE_ID into CONFIG_DRM_AMD_DC_DCN ifdef"). So, let's enable
these checks unconditionally for the entire module to catch these errors
during development.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile