aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-01-28 13:12:18 +0100
committerJiri Kosina <jkosina@suse.cz>2021-03-08 16:32:32 +0100
commit952f7d10c6b1685c6700fb24cf4ecbcf26ede77e (patch)
tree1c271af93a5610c4a1d429ad3d5ab41412f6fbc5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parenta9e54f4b62dcfed4432a5a89b1cd5903737f6e83 (diff)
AMD_SFH: Add sensor_mask module parameter
Add a sensor_mask module parameter which can be used to override the sensor-mask read from the activestatus bits of the AMD_P2C_MSG3 registers. Some BIOS-es do not program the activestatus bits, leading to the AMD-SFH driver not registering any HID devices even though the laptop in question does actually have sensors. While at it also fix the wrong indentation of the MAGNO_EN define. BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=199715 BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1651886 Fixes: 4f567b9f8141 ("SFH: PCIe driver to add support of AMD sensor fusion hub") Suggested-by: Richard Neumann <mail@richard-neumann.de> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Sandeep Singh <sandeep.singh@amd.com Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions