Some Haswell machine doesn't support the encoding. So it should be disabled. Otherwise the driver can't report the supported capability correctly.
V1->V2: Minor update based on comment from Gwenole Beauchesne. For example: use the bool tye and remove the hardcoded value
bc2e06e Encoding: Add one hook callback function to detect encoding capabilitiy on Haswell
src/i965_device_info.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 107 insertions(+)
Upstream: cgit.freedesktop.org