linux_dsm_epyc7002/drivers
Jani Nikula 437b15b801 drm/i915: use pch backlight override on hsw too
Currently the difference between backlight control on HSW vs. BDW/SKL is
that on HSW we modify the duty cycle on the CPU register, and have the
hardware pass the changes on to the PCH registers. We still drive the
PCH PWM on both. While HSW and BDW use the same LPT PCH, BDW does not
pass these messages on to the PCH. Therefore on BDW we need to enable
the PCH override bit, and program the PCH directly. (On SPT PCH, this
mode is the default.) We could as well do this on HSW too, and in fact
I've been told this is what a certain other operating system does. So
use PCH backlight override on HSW too.

This simplifies some follow-up code, but it does have the danger of
breaking backlight on HSW machines. It should work, but mysterious are
the ways of backlight.

While at it, name the related backlight hooks according to the PCH
rather than the CPU for clarity.

Cc: Clint Taylor <clinton.a.taylor@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-09-07 18:27:28 +02:00
..
accessibility
acpi ACPI / video: Fix circular lock dependency issue in the video-detect code 2015-08-14 11:20:20 +02:00
amba
android
ata Merge branch 'for-4.2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2015-08-17 16:20:45 -07:00
atm
auxdisplay
base regmap: Fix handling of present bits on rbtree cache block resize 2015-08-12 09:06:39 -07:00
bcma
block zram: fix pool name truncation 2015-08-14 15:56:32 -07:00
bluetooth
bus
cdrom
char Linux 4.2-rc7 2015-08-17 14:13:53 +10:00
clk A one-liner for a regression found in the PXA clock driver. 2015-08-14 16:10:04 -07:00
clocksource clocksource/imx: Fix boot with non-DT systems 2015-08-20 17:22:56 +02:00
connector
cpufreq cpufreq: exynos: Fix for memory leak in case SoC name does not match 2015-08-14 11:33:47 +02:00
cpuidle
crypto crypto: caam - fix memory corruption in ahash_final_ctx 2015-08-13 15:08:25 +08:00
dca
devfreq
dio
dma dmaengine: fix balance of privatecnt inc/dec operations 2015-08-17 22:47:43 +05:30
dma-buf
edac EDAC, ppc4xx: Access mci->csrows array elements properly 2015-08-13 06:02:19 +02:00
eisa
extcon
firewire
firmware FIRMWARE: bcm47xx_nvram: Fix module license. 2015-08-19 15:00:08 +02:00
fmc
gpio
gpu drm/i915: use pch backlight override on hsw too 2015-09-07 18:27:28 +02:00
hid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid 2015-08-10 15:16:48 -07:00
hsi
hv
hwmon hwmon: (g762) Export OF module alias information 2015-08-05 08:31:59 -07:00
hwspinlock
hwtracing/coresight
i2c
ide
idle
iio
infiniband Changes for 4.2-rc 2015-08-17 16:26:30 -07:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2015-08-21 10:54:53 -07:00
iommu
ipack
irqchip irqchip/crossbar: Restore set_wake functionality 2015-08-20 00:25:26 +02:00
isdn
leds
lguest
macintosh
mailbox
mcb
md dm cache policy smq: move 'dm-cache-default' module alias to SMQ 2015-08-12 11:27:29 -04:00
media media fixes for v4.2-rc8 2015-08-21 11:03:06 -07:00
memory memory: omap-gpmc: Don't try to save uninitialized GPMC context 2015-08-12 01:43:49 -07:00
memstick
message
mfd Linux 4.2-rc7 2015-08-17 14:13:53 +10:00
misc
mmc
mtd
net mm: make page pfmemalloc check more robust 2015-08-21 14:30:10 -07:00
nfc
ntb ntb: avoid format string in dev_set_name 2015-08-09 16:32:22 -04:00
nubus
nvdimm
of
oprofile
parisc
parport
pci PCI: Don't use 64-bit bus addresses on PA-RISC 2015-08-20 17:16:37 -05:00
pcmcia
phy
pinctrl
platform - Fix dependency issues on ChromeOS platforms 2015-08-10 10:48:11 -07:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi SCSI fixes on 20150823 2015-08-23 20:46:22 -07:00
sfi
sh
sn
soc
spi
spmi
ssb
staging
target target: Fix handling of small allocation lengths in REPORT LUNS 2015-08-18 21:51:54 -07:00
tc
thermal thermal/cpu_cooling: update policy limits if clipped_freq < policy->max 2015-08-14 18:26:23 -07:00
thunderbolt
tty
uio
usb
uwb
vfio
vhost
video Linux 4.2-rc7 2015-08-17 14:13:53 +10:00
virt
virtio virtio-input: reset device and detach unused during remove 2015-08-06 10:40:35 +03:00
vlynq
vme
w1
watchdog
xen xen: bug fixes for 4.2-rc6 2015-08-13 13:36:22 -07:00
zorro
Kconfig
Makefile