[linux-yocto] [PATCH 3/3] drm/i915: Give proper names to MOCS entries

2016-12-29 Thread Tuomas Katila
From: Imre Deak Cherry-picked from drm-intel tree The purpose for each MOCS entry isn't well defined atm. Defining these is important to remove any uncertainty about the use of these entries for example in terms of performance and GPU/CPU coherency. Suggested by Ville. v4: - Rename I915_MOCS_A

[linux-yocto] [PATCH 2/3] drm/i915/bxt: Fix inadvertent CPU snooping due to incorrect MOCS config

2016-12-29 Thread Tuomas Katila
From: Imre Deak Cherry-picked from drm-intel tree Setting a write-back cache policy in the MOCS entry definition also implies snooping, which has a considerable overhead. This is unexpected for a few reasons: - From user-space's point of view since it didn't want a coherent surface (it didn't

[linux-yocto] [PATCH 1/3] drm/i915/gen9: Clean up MOCS table definitions

2016-12-29 Thread Tuomas Katila
From: Imre Deak Cherry-picked from drm-intel tree Use named struct initializers for clarity. Also fix the target cache definition to reflect its role in GEN9 onwards. On GEN8 a TC value of 0 meant ELLC but on GEN9+ it means the TC and LRU controls are taken from the PTE. No functional change, i

[linux-yocto] [PATCH 0/3] Improve openCV (beignet) speed in Broxton

2016-12-29 Thread Tuomas Katila
These patches improve the speed of opencv in Joule. Needed for realsense use cases for example. Cherry-picked from drm-intel tree @ https://cgit.freedesktop.org/drm-intel/ Imre Deak (3): drm/i915/gen9: Clean up MOCS table definitions drm/i915/bxt: Fix inadvertent CPU snooping due to incorrect

[linux-yocto] [PATCH 4/5] iio: adc: ti-ads1015: add indio_dev->dev.of_node reference

2016-12-12 Thread tuomas . katila
From: Matt Ranostay Backported from linux-yocto-4.8: f5241dbdfef4404b4e80f0bda13e5c7ceba3ee4a Add the pointer to the device tree node of the ADC so that iio consumers can reference the respective channels. Signed-off-by: Matt Ranostay Acked-by: Daniel Baluta Signed-off-by: Jonathan Cameron -

[linux-yocto] [PATCH 5/5] iio: adc: ti-ads1015: add support for acpi

2016-12-12 Thread tuomas . katila
From: Tuomas Katila Add support for acpi platform configuration. Signed-off-by: Tuomas Katila --- drivers/iio/adc/ti-ads1015.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/ti-ads1015.c b/drivers/iio/adc/ti-ads1015.c

[linux-yocto] [PATCH 3/5] iio: adc: ti-ads1015: add datasheet names

2016-12-12 Thread tuomas . katila
From: Matt Ranostay Backported from linux-yocto-4.8: 8ac8aa61f87eda944cf29229c9c20cba9e83f1ea Add datasheet names for ADC channels to allow iio consumers access. Signed-off-by: Matt Ranostay Acked-by: Daniel Baluta Signed-off-by: Jonathan Cameron --- drivers/iio/adc/ti-ads1015.c | 4 1

[linux-yocto] [PATCH 2/5] iio: adc: ti-ads1015: add support for ADS1115 part

2016-12-12 Thread tuomas . katila
From: Matt Ranostay Backported from linux-yocto-4.8: ba35f111aa6f386df33f950aeaea53a2bf040cc2 TI ADS1115 is a 16-bit resolution ADC that is register map compatible with the ADS1015 device. Signed-off-by: Matt Ranostay Acked-by: Daniel Baluta Acked-by: Crt Mori Signed-off-by: Jonathan Cameron

[linux-yocto] [PATCH 1/5] iio: adc: Add TI ADS1015 ADC driver support

2016-12-12 Thread tuomas . katila
://www.ti.com.cn/cn/lit/ds/symlink/ads1015.pdf Signed-off-by: Daniel Baluta Signed-off-by: Jonathan Cameron Signed-off-by: Tuomas Katila --- drivers/iio/adc/Kconfig | 13 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/ti-ads1015.c | 612 +++ 3

[linux-yocto] [PATCH 0/5] Backport from 4.8: iio: ti-ads1015 support

2016-12-12 Thread tuomas . katila
From: Tuomas Katila Patches are intended for the bxt-rebase branch Backported ti-ads1015 support from linux-yocto 4.8 kernel. The chip is supported in some Joule extender boards, such as Gravity Expansion Shield for Intel Joule SKU: DFR0465. Also added ACPI support for the driver. Daniel