]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd: Taint the kernel when enabling overdrive
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 25 Sep 2024 20:05:07 +0000 (15:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2024 21:41:21 +0000 (17:41 -0400)
commitb472b8d829c1562c5597c1f212957b6b2696d40e
treeb660eaba0e6e7efe62c3a372db52225a7545c463
parentb5353c05ea44cbda81b3ea55c1bfb195e84653be
drm/amd: Taint the kernel when enabling overdrive

Some distributions have been patching amdgpu to enable overdrive by
default which may compromise stability.  Furthermore when bug reports
are brought upstream it's not obvious that the system has been tampered
with.

When overdrive is enabled taint the kernel and leave a critical message
in the logs for users so that it's obvious in a bug report it's been
tampered with.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c