HomeFreeBSD

ig4: Fix FIFO depths detection

Description

ig4: Fix FIFO depths detection

At least on my Tiger Lake-LP queue depth detection failed before the
ig4iic_set_config() call, resulting in no FIFO use. Moving it after
solves the problem, getting proper 64 bytes size.

On my Dell XPS 13 9310 with iichid(4) touchscreen and touchpad this
by few times reduces context switch rate in the driver, and probably
also improves the I2C bus utilization.

MFC after: 1 month

(cherry picked from commit 9c9d7fdd9f0041783955c5f540ac55a900877c0c)

Details

Provenance
mavAuthored on Dec 24 2023, 12:02 AM
Parents
rG44fac9c0be90: ispfw(4): Update and add firmware
Branches
Unknown
Tags
Unknown