linux-stable/drivers
Jocelyn Falempe 99f08ff40c drm/mgag200: Fix PLL setup for G200_SE_A rev >=4
commit b389286d02 upstream.

For G200_SE_A, PLL M setting is wrong, which leads to blank screen,
or "signal out of range" on VGA display.
previous code had "m |= 0x80" which was changed to
m |= ((pixpllcn & BIT(8)) >> 1);

Tested on G200_SE_A rev 42

This line of code was moved to another file with
commit 877507bb95 ("drm/mgag200: Provide per-device callbacks for
PIXPLLC") but can be easily backported before this commit.

v2: * put BIT(7) First to respect MSB-to-LSB (Thomas)
    * Add a comment to explain that this bit must be set (Thomas)

Fixes: 2dd040946e ("drm/mgag200: Store values (not bits) in struct mgag200_pll_values")
Cc: stable@vger.kernel.org
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20221013132810.521945-1-jfalempe@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-12 12:00:49 +01:00
..
accessibility speakup: replace utils' u_char with unsigned char 2022-11-26 09:27:45 +01:00
acpi ACPI: resource: do IRQ override on Lenovo 14ALC7 2023-01-04 11:26:24 +01:00
amba
android binder: validate alloc->mm in ->mmap() handler 2022-12-02 17:42:59 +01:00
ata ata: ahci: Fix PCS quirk application for suspend 2023-01-04 11:26:24 +01:00
atm
auxdisplay
base driver core: Fix bus_type.match() error handling in __driver_attach() 2023-01-07 11:15:57 +01:00
bcma
block virtio_blk: Fix signedness bug in virtblk_prep_rq() 2023-01-12 12:00:47 +01:00
bluetooth Bluetooth: hci_bcm: Add CYW4373A0 support 2022-12-31 13:26:47 +01:00
bus bus: mhi: host: Fix race between channel preparation and M0 event 2023-01-07 11:15:58 +01:00
cdrom
char ipmi: fix use after free in _ipmi_destroy_user() 2023-01-07 11:15:56 +01:00
clk clk: renesas: r8a779f0: Fix SD0H clock name 2022-12-31 13:26:54 +01:00
clocksource clocksource/drivers/timer-ti-dm: Fix missing clk_disable_unprepare in dmtimer_systimer_init_clock() 2022-12-31 13:25:46 +01:00
comedi
connector
counter counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update 2022-12-31 13:26:26 +01:00
cpufreq cpufreq: Init completion before kobject_init_and_add() 2023-01-07 11:15:46 +01:00
cpuidle cpuidle: dt: Return the correct numbers of parsed idle states 2022-12-31 13:25:42 +01:00
crypto virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session() 2023-01-12 12:00:34 +01:00
cxl cxl/region: Fix missing probe failure 2023-01-07 11:15:45 +01:00
dax
dca
devfreq PM/devfreq: governor: Add a private governor_data for governor 2023-01-07 11:15:46 +01:00
dio drivers: dio: fix possible memory leak in dio_init() 2022-12-31 13:26:24 +01:00
dma dmaengine: apple-admac: Allocate cache SRAM to channels 2022-12-31 13:26:31 +01:00
dma-buf dma-buf: Use dma_fence_unwrap_for_each when importing fences 2022-12-02 17:43:10 +01:00
edac EDAC/mc_sysfs: Increase legacy channel support to 12 2023-01-07 11:15:46 +01:00
eisa
extcon extcon: usbc-tusb320: Call the Type-C IRQ handler only if a port is registered 2022-12-31 13:26:54 +01:00
firewire
firmware efi: random: combine bootloader provided RNG seed with RNG protocol output 2023-01-12 12:00:48 +01:00
fpga fpga: m10bmc-sec: Fix kconfig dependencies 2022-12-02 17:43:12 +01:00
fsi fsi: master-ast-cf: Fix missing of_node_put in fsi_master_acf_probe 2022-10-21 12:39:26 +02:00
gnss
gpio gpio: sifive: Fix refcount leak in sifive_gpio_probe 2023-01-12 12:00:39 +01:00
gpu drm/mgag200: Fix PLL setup for G200_SE_A rev >=4 2023-01-12 12:00:49 +01:00
greybus
hid HID: plantronics: Additional PIDs for double volume key presses quirk 2023-01-04 11:26:28 +01:00
hsi HSI: omap_ssi_core: Fix error handling in ssi_init() 2022-12-31 13:26:30 +01:00
hte
hv video: hyperv_fb: Avoid taking busy spinlock on panic path 2022-12-31 13:26:40 +01:00
hwmon hwmon: (jc42) Fix missing unlock on error in jc42_write() 2022-12-31 13:26:48 +01:00
hwspinlock hwspinlock: qcom: correct MMIO max register for newer SoCs 2022-11-16 10:03:50 +01:00
hwtracing coresight: trbe: remove cpuhp instance node before remove cpuhp state 2022-12-31 13:26:27 +01:00
i2c i2c: ismt: Fix an out-of-bounds bug in ismt_access() 2022-12-31 13:26:28 +01:00
i3c
idle
iio iio: addac: ad74413r: fix integer promotion bug in ad74413_get_input_current_offset() 2022-12-31 13:26:52 +01:00
infiniband RDMA/mlx5: Fix validation of max_rd_atomic caps for DC 2023-01-12 12:00:38 +01:00
input Input: iqs7222 - add support for IQS7222A v1.13+ 2022-12-31 13:26:51 +01:00
interconnect interconnect: qcom: sc7180: fix dropped const of qcom_icc_bcm 2022-12-31 13:26:24 +01:00
iommu iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options 2023-01-07 11:15:58 +01:00
ipack
irqchip irqchip/loongson-liointc: Fix improper error handling in liointc_init() 2022-12-31 13:25:44 +01:00
isdn mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave() 2022-12-31 13:26:37 +01:00
leds leds: is31fl319x: Fix setting current limit for is31fl319{0,1,3} 2022-12-31 13:26:30 +01:00
macintosh macintosh/macio-adb: check the return value of ioremap() 2022-12-31 13:26:34 +01:00
mailbox mailbox: zynq-ipi: fix error handling while device_register() fails 2022-12-31 13:26:39 +01:00
mcb mcb: mcb-parse: fix error handing in chameleon_parse_gdd() 2022-12-31 13:26:27 +01:00
md md/bitmap: Fix bitmap chunk size overflow issues 2023-01-07 11:15:55 +01:00
media media: dvb-core: Fix UAF due to refcount races at releasing 2023-01-07 11:15:53 +01:00
memory memory: renesas-rpc-if: Clear HS bit during hardware initialization 2022-12-31 13:25:36 +01:00
memstick memstick/ms_block: Add check for alloc_ordered_workqueue 2022-12-31 13:26:11 +01:00
message
mfd mfd: mt6360: Add bounds checking in Regmap read/write call-backs 2023-01-04 11:26:30 +01:00
misc lkdtm: cfi: Make PAC test work with GCC 7 and 8 2022-12-31 13:26:50 +01:00
mmc mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K 2023-01-07 11:15:44 +01:00
most
mtd mtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init with gd25q256_post_bfpt 2023-01-07 11:15:56 +01:00
mux
net net: dsa: qca8k: fix wrong length value for mgmt eth packet 2023-01-12 12:00:46 +01:00
nfc nfc: pn533: Clear nfc_target before being used 2022-12-31 13:26:37 +01:00
ntb
nubus
nvdimm
nvme nvme: also return I/O command effects from nvme_command_effects 2023-01-12 12:00:44 +01:00
nvmem nvmem: rmem: Fix return value check in rmem_read() 2022-12-08 11:30:15 +01:00
of of/fdt: run soc memory setup when early_init_dt_scan_memory fails 2023-01-12 12:00:47 +01:00
opp
parisc parisc: led: Fix potential null-ptr-deref in start_task() 2023-01-07 11:15:59 +01:00
parport parport_pc: Avoid FIFO port location truncation 2022-11-26 09:27:30 +01:00
pci PCI/sysfs: Fix double free in error path 2023-01-07 11:15:56 +01:00
pcmcia
peci
perf drivers/perf: hisi: Fix some event id for hisi-pcie-pmu 2022-12-31 13:25:40 +01:00
phy phy: qcom-qmp-combo: fix broken power on 2023-01-12 12:00:29 +01:00
pinctrl pinctrl: thunderbay: fix possible memory leak in thunderbay_build_functions() 2022-12-31 13:26:09 +01:00
platform regulator: core: Use different devices for resource allocation and DT lookup 2022-12-31 13:26:47 +01:00
pnp PNP: fix name memory leak in pnp_alloc_dev() 2022-12-31 13:25:43 +01:00
power power: supply: fix null pointer dereferencing in power_supply_get_battery_info 2022-12-31 13:26:30 +01:00
powercap powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue 2022-10-21 12:39:04 +02:00
pps
ps3
ptp
pwm pwm: tegra: Fix 32 bit build 2022-12-31 13:26:54 +01:00
rapidio rapidio: devices: fix missing put_device in mport_cdev_open 2022-12-31 13:25:48 +01:00
ras
regulator regulator: core: fix deadlock on regulator enable 2022-12-31 13:26:52 +01:00
remoteproc remoteproc: imx_rproc: Correct i.MX93 DRAM mapping 2023-01-07 11:15:58 +01:00
reset
rpmsg
rtc rtc: ds1347: fix value written to century register 2023-01-07 11:15:54 +01:00
s390 s390/lcs: Fix return type of lcs_start_xmit() 2022-12-31 13:26:43 +01:00
sbus
scsi scsi: qla2xxx: Fix crash when I/O abort times out 2022-12-31 13:26:53 +01:00
sh
siox siox: fix possible memory leak in siox_device_add() 2022-11-26 09:27:30 +01:00
slimbus slimbus: stream: correct presence rate frequencies 2022-11-26 09:27:45 +01:00
soc ARM: ux500: do not directly dereference __iomem 2023-01-07 11:15:45 +01:00
soundwire soundwire: dmi-quirks: add quirk variant for LAPBC710 NUC15 2023-01-04 11:26:26 +01:00
spi spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode 2022-12-31 13:26:11 +01:00
spmi
ssb
staging ipu3-imgu: Fix NULL pointer dereference in imgu_subdev_set_selection() 2023-01-07 11:15:55 +01:00
target scsi: target: iscsi: Fix a race condition between login_work and the login thread 2022-12-31 13:26:48 +01:00
tc
tee tee: optee: fix possible memory leak in optee_register_device() 2022-12-02 17:43:03 +01:00
thermal thermal: int340x: Add missing attribute for data rate base 2023-01-12 12:00:46 +01:00
thunderbolt thunderbolt: Add DP OUT resource when DP tunnel is discovered 2022-11-16 10:03:48 +01:00
tty serial: sunsab: Fix error handling in sunsab_init() 2022-12-31 13:26:26 +01:00
ufs scsi: ufs: Reduce the START STOP UNIT timeout 2022-12-31 13:26:47 +01:00
uio uio: uio_dmem_genirq: Fix deadlock between irq config and handling 2022-12-31 13:26:24 +01:00
usb usb: dwc3: xilinx: include linux/gpio/consumer.h 2023-01-12 12:00:42 +01:00
vdpa vdpasim: fix memory leak when freeing IOTLBs 2023-01-12 12:00:34 +01:00
vfio vfio: platform: Do not pass return buffer to ACPI _RST method 2022-12-31 13:26:24 +01:00
vhost vhost_vdpa: fix the crash in unmap a large memory 2023-01-12 12:00:46 +01:00
video fbdev: matroxfb: G200eW: Increase max memory from 1 MB to 16 MB 2023-01-12 12:00:45 +01:00
virt virt/sev-guest: Add a MODULE_ALIAS 2022-12-31 13:25:56 +01:00
virtio
vlynq
w1
watchdog watchdog: iTCO_wdt: Set NO_REBOOT if the watchdog is not already running 2022-12-31 13:26:29 +01:00
xen xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource() 2022-12-31 13:25:46 +01:00
zorro
Kconfig
Makefile