08 Mar, 2020
1 commit
-
Merge Linux stable release v5.4.24 into imx_5.4.y
* tag 'v5.4.24': (3306 commits)
Linux 5.4.24
blktrace: Protect q->blk_trace with RCU
kvm: nVMX: VMWRITE checks unsupported field before read-only field
...Signed-off-by: Jason Liu
Conflicts:
arch/arm/boot/dts/imx6sll-evk.dts
arch/arm/boot/dts/imx7ulp.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
drivers/clk/imx/clk-composite-8m.c
drivers/gpio/gpio-mxc.c
drivers/irqchip/Kconfig
drivers/mmc/host/sdhci-of-esdhc.c
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
drivers/net/can/flexcan.c
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
drivers/net/phy/realtek.c
drivers/pci/controller/mobiveil/pcie-mobiveil-host.c
drivers/perf/fsl_imx8_ddr_perf.c
drivers/tee/optee/shm_pool.c
drivers/usb/cdns3/gadget.c
kernel/sched/cpufreq.c
net/core/xdp.c
sound/soc/fsl/fsl_esai.c
sound/soc/fsl/fsl_sai.c
sound/soc/sof/core.c
sound/soc/sof/imx/Kconfig
sound/soc/sof/loader.c
24 Feb, 2020
1 commit
-
[ Upstream commit 3c911fe799d1c338d94b78e7182ad452c37af897 ]
In the probe function, some resources are allocated using 'dma_alloc_wc()',
they should be released with 'dma_free_wc()', not 'dma_free_coherent()'.We already use 'dma_free_wc()' in the remove function, but not in the
error handling path of the probe function.Also, remove a useless 'PAGE_ALIGN()'. 'info->fix.smem_len' is already
PAGE_ALIGNed.Fixes: 638772c7553f ("fb: add support of LCD display controller on pxa168/910 (base layer)")
Signed-off-by: Christophe JAILLET
Reviewed-by: Lubomir Rintel
CC: YueHaibing
Signed-off-by: Bartlomiej Zolnierkiewicz
Link: https://patchwork.freedesktop.org/patch/msgid/20190831100024.3248-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin
26 Dec, 2019
1 commit
-
Since using power domains to handle the mipi phy power
management in gpcv2 driver for mipi phy domain, remove
the legacy unncessary regulator related code for mipi
phy.Signed-off-by: Fancy Fang
Reviewed-by: Robby Cai
18 Dec, 2019
3 commits
-
sii902x hdmi cable detect thread is trigged by
event FB_EVENT_FB_REGISTERED in register_framebuffer function
when device bootup.when CONFIG_FB_MXC_OVERLAY is enabled, pixel clock has
chance to be disabled by overlay fb.
In this case cable detect thread will fail to get cable state
and sii902x hdmi will not initialized.Fix it with immediate execute the cable detect thread and
add 20ms delay to wait cable detect thread get the cable state.Signed-off-by: Sandor Yu
Reviewed-by: Robby Cai -
Fix the followed build warning.
drivers/video/fbdev/mxc/mxc_hdmi.c: In function ‘mxc_hdmi_cable_connected’:
drivers/video/fbdev/mxc/mxc_hdmi.c:1964:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
mxc_hdmi_default_edid_cfg(hdmi);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/video/fbdev/mxc/mxc_hdmi.c:1966:2: note: here
case HDMI_EDID_NO_MODES:
^~~~Signed-off-by: Sandor Yu
-
commit 6039f37dd6b76641198e290f26b31c475248f567 upstream.
The bar values are little endian, not big endian. The pack
function did it right but the unpack got it wrong. Fix it.Cc: stable@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: Martin Bugge
Cc: Hans Verkuil
Cc: Thierry Reding
Cc: Mauro Carvalho Chehab
Fixes: 2c676f378edb ("[media] hdmi: added unpack and logging functions for InfoFrames")
Signed-off-by: Ville Syrjälä
Link: https://patchwork.freedesktop.org/patch/msgid/20190919132853.30954-1-ville.syrjala@linux.intel.com
Reviewed-by: Thierry Reding
Signed-off-by: Greg Kroah-Hartman
03 Dec, 2019
3 commits
-
fix following build warning:
../drivers/video/fbdev/mxc/mxc_hdmi.c: In function 'mxc_hdmi_cable_connected':
../drivers/video/fbdev/mxc/mxc_hdmi.c:1964:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
mxc_hdmi_default_edid_cfg(hdmi);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/video/fbdev/mxc/mxc_hdmi.c:1966:2: note: here
case HDMI_EDID_NO_MODES:
^~~~Signed-off-by: Robby Cai
Reviewed-by: Sandor Yu
(cherry picked from commit ca5ffb6e67b6c4ce7351285a184179bd3c20afc5) -
Since the commit
commit 212836a9929f0c91214a8a1879e6e41be0e26a6f
Author: Christoph Hellwig
Date: Fri Jul 26 08:58:36 2019 +0200dma-mapping: remove dma_{alloc,free,mmap}_writecombine
has removed dma_alloc_writecombine interface, below build
error occured:drivers/video/fbdev/mxsfb.c: In function ‘mxsfb_overlay_map_video_memory’:
drivers/video/fbdev/mxsfb.c:2059:19: error: implicit declaration of function ‘dma_alloc_writecombine’; did you mean ‘pgprot_writecombine’? [-Werror=implicit-function-declaration]
2059 | ofb->video_mem = dma_alloc_writecombine(ofb->dev,
| ^~~~~~~~~~~~~~~~~~~~~~
| pgprot_writecombine
drivers/video/fbdev/mxsfb.c:2059:17: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
2059 | ofb->video_mem = dma_alloc_writecombine(ofb->dev,
| ^
drivers/video/fbdev/mxsfb.c: In function ‘mxsfb_overlay_exit’:
drivers/video/fbdev/mxsfb.c:2134:4: error: implicit declaration of function ‘dma_free_writecombine’; did you mean ‘pgprot_writecombine’? [-Werror=implicit-function-declaration]
2134 | dma_free_writecombine(ofb->dev, ofb->video_mem_size,
| ^~~~~~~~~~~~~~~~~~~~~
| pgprot_writecombineSigned-off-by: Fancy Fang
-
Since the commit
commit cf4a3ae4ef3399179166a464af1d6b172225bef4
Author: Daniel Vetter
Date: Tue May 28 11:02:47 2019 +0200fbdev: lock_fb_info cannot fail
has changed the lock_fb_info() to void type, so cannot check its
return value anymore.Signed-off-by: Fancy Fang
02 Dec, 2019
2 commits
-
* display/next: (340 commits)
LF-94: drm: hdmi: imx: Add hdmi phy video mode valid function
drm: hdmi: imx8: fix wrong hdmi type with non-SCDC HDMI sinks
Revert "drm/imx/hdp: fix issue with non-SCDC HDMI sinks"
drm/bridge: nwl-dsi Correct the DSI init sequence
gpu: imx: framegen: Use crtc_clock instead of mode clock
... -
* origin/display/fbdev: (26 commits)
MLK-22768 video: fbdev: mxc_ipuv3_fb: Handle enabled fg properly when set-par happens on bg
video: fbdev: mxsfb: Fix writecombine/wc build error
MLK-22084: fbdev: hdmi: Fix HDCP function failed work with Sony TV
fbdev: dcic: Enable imx6 dcic driver
video: fbdev: mxc: hdmi: add hdmi framebuffer driver
...
25 Nov, 2019
22 commits
-
When we do set-par for background framebuffer without on-the-fly
flag being set, we should also unset the enabled overlay framebuffer's
on-the-fly flag, otherwise the overlay framebuffer cannot be enabled
again properly because a full mode set procedure is needed for overlay
framebuffer as it experiences a period of time when background
framebuffer stops fetching frames.Signed-off-by: Liu Ying
-
Signed-off-by: Leonard Crestez
-
HDCP function could work in other TVs
but it failed with Sony TV when run hdcp enable/disable stress test.
The TMDS clock is not detected by Sony TV.
The TV seems time sensitive for HDMI TMDS.
Add 20ms delay before TMDS enable make it work.Signed-off-by: Sandor Yu
-
This patch forwards imx6 dcic driver from imx_4.19.y kernel.
Signed-off-by: Sandor Yu
-
Add imx6 hdmi framebuffer driver.
This patch forwards imx6 HDMI framebuffer driver from imx_4.19.y kernel.Signed-off-by: Sandor Yu
-
Add sii902x hdmi driver source code.
This patch forwards sii902x framebuffer driver from imx_4.19.y kernel.Signed-off-by: Sandor Yu
-
FB events FB_EVENT_SUSPEND/FB_EVENT_RESUME
are remove in the kernel patchcommit 50c5056356340c8b5be90440d2f32fec8c47a7c3
Author: Daniel Vetter
Date: Tue May 28 11:02:52 2019 +0200fbdev: directly call fbcon_suspended/resume
Add these events back to support mxc hdmi fb driver.
Signed-off-by: Sandor Yu
-
fb event FB_EVENT_FB_REGISTERED and FB_EVENT_FB_UNREGISTERED
are removed by kernel patchcommit 97b67986f1451c772b488d597310f95c14547cce
Author: Daniel Vetter
Date: Tue May 28 11:02:41 2019 +0200
fbcon: call fbcon_fb_(un)registered directlyAdd these two events back to support
mxc hdmi and sii90x hdmi fb driver.Signed-off-by: Sandor Yu
-
mxc_epdc_fb.c for i.MX6DL, i.MX6SL
mxc_epdc_v2_fb.c for i.MX7D, i.MX6ULL, i.MX6SLL.Signed-off-by: Robby Cai
-
This patch forwards LDB driver from imx_4.19.y kernel.
Signed-off-by: Liu Ying
-
This patch forwards IPUv3 framebuffer driver from imx_4.19.y kernel.
[ Liu Ying: Fixed a minor build warning ]
Signed-off-by: Liu Ying -
Add driver support for HX8369 mipi panel display.
Signed-off-by: Fancy Fang
-
Add the framebuffer driver support for the NXP MIPI
DSI controller.Signed-off-by: Fancy Fang
-
Add the framebuffer driver support for the Samsung
MIPI DSI controller.Signed-off-by: Fancy Fang
-
Add driver support for RM68191 mipi panel display.
Signed-off-by: Fancy Fang
-
Add driver support for RM68200 mipi panel display.
Signed-off-by: Fancy Fang
-
Add driver support for Truly HX8363 mipi panel.
Signed-off-by: Fancy Fang
-
Add driver support for ADI ADV7535 module which can convert
MIPI DSI signals to HDMI signals.Signed-off-by: Fancy Fang
-
Add the framebuffer driver support for the Northwest Logic
MIPI DSI controller.Signed-off-by: Fancy Fang
-
Add framebuffer driver for i.MX LCDIF display controller
which appears on quite a lot of i.MX platforms.Signed-off-by: Fancy Fang
-
The new imx folder may contain ipu-v3 and dpu common drivers.
Signed-off-by: Liu Ying
[ Aisheng: fix source path ]
Signed-off-by: Dong Aisheng -
Add fb name check function pwm_backlight_check_fb_name(),
pwm driver can banding to fb with fb name when driver working
in device tree architecture.Signed-off-by: Sandor Yu
Signed-off-by: Vipul Kumar
08 Nov, 2019
1 commit
-
- Some new documentation for GEM shmem madvise helpers
- Fix for a state dereference in atomic self-refresh helpers
- One compilation fix for c2p fbdev helpersSigned-off-by: Dave Airlie
From: Maxime Ripard
Link: https://patchwork.freedesktop.org/patch/msgid/20191107082215.GA34850@gilmour.lan
04 Nov, 2019
1 commit
-
When the compiler decides not to inline the Chunky-to-Planar core
functions, the build fails with:c2p_planar.c:(.text+0xd6): undefined reference to `c2p_unsupported'
c2p_planar.c:(.text+0x1dc): undefined reference to `c2p_unsupported'
c2p_iplan2.c:(.text+0xc4): undefined reference to `c2p_unsupported'
c2p_iplan2.c:(.text+0x150): undefined reference to `c2p_unsupported'Fix this by marking the functions __always_inline.
While this could be triggered before by manually enabling both
CONFIG_OPTIMIZE_INLINING and CONFIG_CC_OPTIMIZE_FOR_SIZE, it was exposed
in the m68k defconfig by commit ac7c3e4ff401b304 ("compiler: enable
CONFIG_OPTIMIZE_INLINING forcibly").Fixes: 9012d011660ea5cf ("compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING")
Reported-by: noreply@ellerman.id.au
Signed-off-by: Geert Uytterhoeven
Reviewed-by: Masahiro Yamada
Signed-off-by: Daniel Vetter
Link: https://patchwork.freedesktop.org/patch/msgid/20190927094708.11563-1-geert@linux-m68k.org
05 Oct, 2019
2 commits
-
Currently, all the logo C files are generated irrespective of the
CONFIG options. Adding them to extra-y is wrong. What we need to do
here is to add them to 'targets' so that if_changed works properly.Files listed in 'targets' are cleaned, so clean-files is unneeded.
Signed-off-by: Masahiro Yamada
-
The pattern *.o is cleaned up globally by the top Makefile.
Signed-off-by: Masahiro Yamada
24 Sep, 2019
1 commit
-
Pull backlight updates from Lee Jones:
"Core Frameworks
- Obtain scale type through sysfsNew Functionality:
- Provide Device Tree functionality in rave-sp-backlight
- Calculate if scale type is (non-)linear in pwm_blFix-ups:
- Simplify code in lm3630a_bl
- Trivial rename/whitespace/typo fixes in lms283gf05
- Remove superfluous NULL check in tosa_lcd
- Fix power state initialisation in gpio_backlight
- List supported file in MAINTAINERSBug Fixes:
- Kconfig - default to not building unless requested in
{LED,BACKLIGHT}_CLASS_DEVICE"* tag 'backlight-next-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
backlight: pwm_bl: Set scale type for brightness curves specified in the DT
backlight: pwm_bl: Set scale type for CIE 1931 curves
backlight: Expose brightness curve type through sysfs
MAINTAINERS: Add entry for stable backlight sysfs ABI documentation
backlight: gpio-backlight: Correct initial power state handling
video: backlight: tosa_lcd: drop check because i2c_unregister_device() is NULL safe
video: backlight: Drop default m for {LCD,BACKLIGHT_CLASS_DEVICE}
backlight: lms283gf05: Fix a typo in the description passed to 'devm_gpio_request_one()'
backlight: lm3630a: Switch to use fwnode_property_count_uXX()
backlight: rave-sp: Leave initial state and register with correct device
23 Sep, 2019
1 commit
-
Pull MIPS updates from Paul Burton:
"Main MIPS changes:- boot_mem_map is removed, providing a nice cleanup made possible by
the recent removal of bootmem.- Some fixes to atomics, in general providing compiler barriers for
smp_mb__{before,after}_atomic plus fixes specific to Loongson CPUs
or MIPS32 systems using cmpxchg64().- Conversion to the new generic VDSO infrastructure courtesy of
Vincenzo Frascino.- Removal of undefined behavior in set_io_port_base(), fixing the
behavior of some MIPS kernel configurations when built with recent
clang versions.- Initial MIPS32 huge page support, functional on at least Ingenic
SoCs.- pte_special() is now supported for some configurations, allowing
among other things generic fast GUP to be used.- Miscellaneous fixes & cleanups.
And platform specific changes:
- Major improvements to Ingenic SoC support from Paul Cercueil,
mostly enabled by the inclusion of the new TCU (timer-counter unit)
drivers he's spent a very patient year or so working on. Plus some
fixes for X1000 SoCs from Zhou Yanjie.- Netgear R6200 v1 systems are now supported by the bcm47xx platform.
- DT updates for BMIPS, Lantiq & Microsemi Ocelot systems"
* tag 'mips_5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (89 commits)
MIPS: Detect bad _PFN_SHIFT values
MIPS: Disable pte_special() for MIPS32 with RiXi
MIPS: ralink: deactivate PCI support for SOC_MT7621
mips: compat: vdso: Use legacy syscalls as fallback
MIPS: Drop Loongson _CACHE_* definitions
MIPS: tlbex: Remove cpu_has_local_ebase
MIPS: tlbex: Simplify r3k check
MIPS: Select R3k-style TLB in Kconfig
MIPS: PCI: refactor ioc3 special handling
mips: remove ioremap_cachable
mips/atomic: Fix smp_mb__{before,after}_atomic()
mips/atomic: Fix loongson_llsc_mb() wreckage
mips/atomic: Fix cmpxchg64 barriers
MIPS: Octeon: remove duplicated include from dma-octeon.c
firmware: bcm47xx_nvram: Allow COMPILE_TEST
firmware: bcm47xx_nvram: Correct size_t printf format
MIPS: Treat Loongson Extensions as ASEs
MIPS: Remove dev_err() usage after platform_get_irq()
MIPS: dts: mscc: describe the PTP ready interrupt
MIPS: dts: mscc: describe the PTP register range
...
20 Sep, 2019
1 commit
-
Pull drm updates from Dave Airlie:
"This is the main pull request for 5.4-rc1 merge window. I don't think
there is anything outstanding so next week should just be fixes, but
we'll see if I missed anything. I landed some fixes earlier in the
week but got delayed writing summary and sending it out, due to a mix
of sick kid and jetlag!There are some fixes pending, but I'd rather get the main merge out of
the way instead of delaying it longer.It's also pretty large in commit count and new amd header file size.
The largest thing is four new amdgpu products (navi12/14, arcturus and
renoir APU support).Otherwise it's pretty much lots of work across the board, i915 has
started landing tigerlake support, lots of icelake fixes and lots of
locking reworking for future gpu support, lots of header file rework
(drmP.h is nearly gone), some old legacy hacks (DRM_WAIT_ON) have been
put into the places they are needed.uapi:
- content protection type property for HDCPcore:
- rework include dependencies
- lots of drmP.h removals
- link rate calculation robustness fix
- make fb helper map only when required
- add connector->DDC adapter link
- DRM_WAIT_ON removed
- drop DRM_AUTH usage from driversdma-buf:
- reservation object fence helperdma-fence:
- shrink dma_fence struct
- merge signal functions
- store timestamps in dma_fence
- selfteststtm:
- embed drm_get_object struct into ttm_buffer_object
- release_notify callbackbridges:
- sii902x - audio graph card support
- tc358767 - aux data handling rework
- ti-snd64dsi86 - debugfs support, DSI mode flags supportpanels:
- Support for GiantPlus GPM940B0, Sharp LQ070Y3DG3B, Ortustech
COM37H3M, Novatek NT39016, Sharp LS020B1DD01D, Raydium RM67191, Boe
Himax8279d, Sharp LD-D5116Z01B
- TI nspire, NEC NL8048HL11, LG Philips LB035Q02, Sharp LS037V7DW01,
Sony ACX565AKM, Toppoly TD028TTEC1 Toppoly TD043MTEA1i915:
- Initial tigerlake platform support
- Locking simplification work, general all over refactoring.
- Selftests
- HDCP debug info improvements
- DSI properties
- Icelake display PLL fixes, colorspace fixes, bandwidth fixes, DSI
suspend/resume
- GuC fixes
- Perf fixes
- ElkhartLake enablement
- DP MST fixes
- GVT - command parser enhancementsamdgpu:
- add wipe memory on release flag for buffer creation
- Navi12/14 support (may be marked experimental)
- Arcturus support
- Renoir APU support
- mclk DPM for Navi
- DC display fixes
- Raven scatter/gather support
- RAS support for GFX
- Navi12 + Arcturus power features
- GPU reset for Picasso
- smu11 i2c controller supportamdkfd:
- navi12/14 support
- Arcturus supportradeon:
- kexec fixnouveau:
- improved display color management
- detect lack of GPU power cablesvmwgfx:
- evicition priority support
- remove unused security featuremsm:
- msm8998 display support
- better async commit support for cursor updatesetnaviv:
- per-process address space support
- performance counter fixes
- softpin supportmcde:
- DCS transfers fixexynos:
- drmP.h cleanuplima:
- reduce loggingkirin:
- misc clenaupskomeda:
- dual-link support
- DT memory regionshisilicon:
- misc fixesimx:
- IPUv3 image converter fixes
- 32-bit RGB V4L2 pixel format supportingenic:
- more support for panel related casesmgag200:
- cursor support fixpanfrost:
- export GPU features register to userspace
- gpu heap allocations
- per-fd address space supportpl111:
- CLD pads wiring support removed from DTrockchip:
- rework to use DRM PSR helpers
- fix bug in VOP_WIN_GET macro
- DSI DT binding reworksun4i:
- improve support for color encoding and range
- DDC enabled GPIOtinydrm:
- rework SPI support
- improve MIPI-DBI support
- moved to drm/tinyvkms:
- rework CRC trackingdw-hdmi:
- get_eld and i2s improvementsgm12u320:
- misc fixesmeson:
- global code cleanup
- vpu feature detectomap:
- alpha/pixel blend mode propertiesrcar-du:
- misc fixes"* tag 'drm-next-2019-09-18' of git://anongit.freedesktop.org/drm/drm: (2112 commits)
drm/nouveau/bar/gm20b: Avoid BAR1 teardown during init
drm/nouveau: Fix ordering between TTM and GEM release
drm/nouveau/prime: Extend DMA reservation object lock
drm/nouveau: Fix fallout from reservation object rework
drm/nouveau/kms/nv50-: Don't create MSTMs for eDP connectors
drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap
drm/i915: to make vgpu ppgtt notificaiton as atomic operation
drm/i915: Flush the existing fence before GGTT read/write
drm/i915: Hold irq-off for the entire fake lock period
drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915
drm/i915/gvt: update vgpu workload head pointer correctly
drm/mcde: Fix DSI transfers
drm/msm: Use the correct dma_sync calls harder
drm/msm: remove unlikely() from WARN_ON() conditions
drm/msm/dsi: Fix return value check for clk_get_parent
drm/msm: add atomic traces
drm/msm/dpu: async commit support
drm/msm: async commit support
drm/msm: split power control from prepare/complete_commit
drm/msm: add kms->flush_commit()
...