Skip to content

Commit bcad6d1

Browse files
yeapaJiri Kosina
authored andcommitted
HID: intel-ish-hid: ipc: Specify no cache snooping on TGL and ADL
Specify that both TGL and ADL don't support DMA cache snooping. Signed-off-by: Ye Xiang <xiang.ye@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent aa320fd commit bcad6d1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • drivers/hid/intel-ish-hid/ipc

drivers/hid/intel-ish-hid/ipc/ipc.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,11 @@ static uint32_t ish_ipc_get_header(struct ishtp_device *dev, int length,
909909
*/
910910
static bool _dma_no_cache_snooping(struct ishtp_device *dev)
911911
{
912-
return dev->pdev->device == EHL_Ax_DEVICE_ID;
912+
return (dev->pdev->device == EHL_Ax_DEVICE_ID ||
913+
dev->pdev->device == TGL_LP_DEVICE_ID ||
914+
dev->pdev->device == TGL_H_DEVICE_ID ||
915+
dev->pdev->device == ADL_S_DEVICE_ID ||
916+
dev->pdev->device == ADL_P_DEVICE_ID);
913917
}
914918

915919
static const struct ishtp_hw_ops ish_hw_ops = {

0 commit comments

Comments
 (0)