summaryrefslogtreecommitdiff
path: root/drivers/gpu (follow)
Commit message (Collapse)AuthorAge
...
| * | | | drm: msm: fix potential NULL pointer dereferenceSuprith Malligere Shankaregowda2018-04-09
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | adding NULL check before dereferencing a pointer. Change-Id: I260b016abdcb16f5b16e58671ed208df21c99a46 Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
* / | | msm: kgsl: Enhance reading lm_sequence in _execute_reg_sequence()Archana Sriram2018-04-09
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Modified conditional checks to read lm_sequence so as to avoid the possibility of pointer overflow. CRs-Fixed: 2212443 Change-Id: I72b30e35996c40f23fc81739e27724b1188f1c05 Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
* | | [drm/sde] fix uninitialized src/dst size in sde planeCamus Wong2018-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDE plane src/dst size is uninitialized and programmed to hw when only color format is changed. This change will only configure hw when src/dst size is calculated. Change-Id: I5953f899a2c503b1d8f2577c28a67711b9ed9a67 Signed-off-by: Camus Wong <camusw@codeaurora.org> Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
* | | Merge "drm: msm: fix potential NULL pointer dereference"Linux Build Service Account2018-04-02
|\ \ \
| * | | drm: msm: fix potential NULL pointer dereferenceGuchun Chen2018-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add checker before using pointers, to avoid NULL pointer dereference happens. CRs-Fixed: 2202957 Change-Id: I99930e1e9477130fcfceadad3f3a2ff5c9e89cda Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
* | | | drm/msm: check hpd_off flag only for pluggable displaysRahul Sharma2018-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will wrap the 'hpd_off' flag with pluggable displays. In non-pluggable display case 'hpd_off' flag prevents disabling of HPD clocks and hence display subsystem doesn't got into suspend state. Change-Id: I28ade8fb60a60a15f1d23009de63bbf9f10c7c77 Signed-off-by: Rahul Sharma <rahsha@codeaurora.org> Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
* | | | DRM: SDE: Fixing the power up sequence with early splashCamus Wong2018-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the splash clean up is trigger, the MDP core power on call should be skipped. MDP core already turned on in sde_kms_hw_init() if splash handoff enabled. Change-Id: Ie19c4eb2d0455b0c19615e3bb29aae4b4c6c8abf Signed-off-by: Camus Wong <camusw@codeaurora.org> Signed-off-by: Rahul Sharma <rahsha@codeaurora.org> Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
* | | | Merge "drm/msm: refine hdmi bridge implementation"Linux Build Service Account2018-03-22
|\ \ \ \
| * | | | drm/msm: refine hdmi bridge implementationCamus Wong2018-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes an unclocked hdmi register access while going to suspend state. When splash is enabled on HDMI interface & we are going to turn on the hdmi bridge power. Context of sde_hdmi connector is found to be NULL because connector was not initialized yet and we never called sde_hdmi_core_enable which enables hpd clocks. Now when going to suspend system would be calling clock unprepare for clocks which were never enabled. Hence hdmi clock gets unbalanced and resulted in unclocked access to one of the hdmi register during disabling vblank. Adding struct sde_hdmi as a member of struct sde_hdmi_bridge and remove dependency on sde connector to get the hdmi display object. Change-Id: If96324fd5152ab0e721dfd38e93a68321a615455 Signed-off-by: Camus Wong <camusw@codeaurora.org> Signed-off-by: Rahul Sharma <rahsha@codeaurora.org> Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
* | | | | Merge "drm/msm/sde: store mdss irq status in case of irq storm"Linux Build Service Account2018-03-19
|\ \ \ \ \
| * | | | | drm/msm/sde: store mdss irq status in case of irq stormLloyd Atkinson2018-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the last MDSS IRQ status value to help identify the source of any erroneous IRQs that might cause an IRQ storm. Also, check return codes on IRQ mapping or handling and report any unhandled IRQs to the IRQ system. Change-Id: I585c97c01736216556eb389bda79548c1fda2b64 Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
* | | | | | Merge "drm/msm/sde: take irq callback lock before reading cb list"Linux Build Service Account2018-03-19
|\| | | | |
| * | | | | drm/msm/sde: take irq callback lock before reading cb listLloyd Atkinson2018-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Take the callback spinlock before checking whether the callback table list is empty. This resolves a race condition where the callback list could be empty during the servicing of an interrupt. Change-Id: I8d59c0211526173ce98c8ca2dac36ec4743dc8f8 Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
| * | | | | drm/msm: limit sde_dbg_dump output to current entriesLakshmi Narayana Kalavala2018-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the sde_dbg_dump function to only dump event log entries up to the time the dump is initiated, and increase the number of recorded event log entries. This places a limit on the total number of entries that are output to the dmesg log even if more entries would have been added while the dump is executing (e.g., interrupt events), while still allowing the extra events to be recorded properly. Change-Id: I66f850d21a2d0217f9049facffce074831b7e17d Signed-off-by: Clarence Ip <cip@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
| * | | | | drm/msm: add input sanitization on debug dump debugfsLakshmi Narayana Kalavala2018-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add checks to debugfs input parameters in sde debug dump debugfs entries. Change-Id: Iea170b75c1eb9aa46366662d36e677cb3251830b Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
| * | | | | drm/msm/sde: add debugfs nodes for underruns debugLakshmi Narayana Kalavala2018-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds debugfs nodes for debugging underruns, after this change following commands are supported: 1. To enable the underrun ftrace: echo 1 > /d/tracing/events/sde/sde_encoder_underrun/enable 2. To enable feature that disables the ftraces once the underrun happens: echo 1 > /d/dri/0/debug/dbg_ctrl 3. To enable the panic in the device when underrun happens: echo 2 > /d/dri/0/debug/dbg_ctrl 4. To enable both of the above options: echo 3 > /d/dri/0/debug/dbg_ctrl Change-Id: Id9f407edb0908a5f8454f08d63c356dc8f04d353 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org> Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
* | | | | | Merge "drm: smmu: fix smmu map failure"Linux Build Service Account2018-03-19
|\ \ \ \ \ \
| * | | | | | drm: smmu: fix smmu map failureGuchun Chen2018-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In concurrency test, smmu map failure appears in a low possibility. This is caused by virtual address conflict. Display driver calls different smmu map APIs to do map with the same domain, while the virtual address allocation happens separately, one in dmp-mapping.c, and another one is in msm_gem_vam.c. This could not gurantee the virtual addresses by different callers are different in the same mmu domain, if they are the same, the virtual address will possibily be mapped twice, hence conflict happens. The change is to fix this: 1. Remove the map calling for early splash buffer from msm_smmu_map. 2. Introduce one new map API early_splash_map/unmap, dedicated for memory mapping for early splash usercase. CRs-Fixed: 2198827 Change-Id: I8e632f1971998a14c362b5bf0ae9a5522a5a1bff Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
* | | | | | | Merge "msm: kgsl: Add support for A509 GPU"Linux Build Service Account2018-03-17
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | msm: kgsl: Add support for A509 GPURajesh Kemisetti2018-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new GPU ID and required initial settings to support Graphics functionality on SDM636. Change-Id: If8a801c20c7f60618797ccd440d2d739f6817708 Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
* | | | | | | Merge "drm/msm/sde: add validation checks for source split"Linux Build Service Account2018-03-16
|\ \ \ \ \ \ \
| * | | | | | | drm/msm/sde: add validation checks for source splitJeykumar Sankaran2018-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Planes configured on the same blend stage must be contiguous by their destination width, same destination height and yoffsets. This changes validates the source split pair before staging them. Change-Id: I6e77b48a29477c4594e4693d1be95f91b73f1ed2 Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
* | | | | | | | Merge "drm/msm: move display and event threads to realtime priority"Linux Build Service Account2018-03-16
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |
| * | | | | | | drm/msm: move display and event threads to realtime priorityLakshmi Narayana Kalavala2018-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Display thread processes the work assigned by HAL for screen update. Current logic selects the thread priority to default and causes the frame drop. This patch moves the display thread to realtime priority to process the display work items at realtime. Event thread must follow the display thread priority to avoid frame_pending counters beyond 2. Change-Id: I9154b749550cee52da1d16d22a8418676325e769 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
| * | | | | | | drm/msm: support shutdown sequence on msm driverLakshmi Narayana Kalavala2018-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add shutdown sequence in msm driver to turn off all connectors/bridge gracefully. That will allow the graceful shutdown for dsi panel. Change-Id: I055bd57a45706478c785b7a3c41bf7623dd8d2e7 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
* | | | | | | | Merge "drm/msm: init enum properties to default value"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ \
| * | | | | | | | drm/msm: init enum properties to default valueClarence Ip2018-03-09
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize DRM/KMS enumeration properties to the first defined value rather than 0 since enumeration properties are meant to store the actual value rather than simply an enumeration index. Change-Id: I23dd62308a2d3a45c763090b6f0557634ed49d63 Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | | | | | | Merge "drm/msm/sde: propagate the cdm block length from the catalog"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ \
| * | | | | | | | drm/msm/sde: propagate the cdm block length from the catalogLloyd Atkinson2018-03-08
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the missing CDM block length parsed by the hardware catalog into the hardware block data structure so that the debug dump region can be properly registered. Change-Id: I395164960484ede34a781785b4ed0e2a60ef0e50 Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
* | | | | | | | Merge "drm/msm/sde: add ubwc equivalent tile formats"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ \
| * | | | | | | | drm/msm/sde: add ubwc equivalent tile formatsAlan Kwong2018-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tile format table is missing few ubwc equivalent formats. Add those missing formats to the tile format table. Change-Id: Ie5392f820a5a5f3a94405ab73d3c3f8a7efa0f9f Signed-off-by: Alan Kwong <akwong@codeaurora.org>
| * | | | | | | | drm/msm/sde: set the tile height for all supported formatsSteve Cohen2018-03-08
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sde_format structure contains a tile_height member which was never initialized. SmartDMA validation uses this field and expects it to be set properly. Change-Id: I87bb49e5bab63c33a8c01271ee1a38b3cb8372bc Signed-off-by: Steve Cohen <cohens@codeaurora.org>
* | | | | | | | Merge "drm: msm: dsi: fix potential NULL pointer dereference"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ \
| * | | | | | | | drm: msm: dsi: fix potential NULL pointer dereferenceGuchun Chen2018-03-13
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add checker to confirm the pointer is not NULL first, to avoid NULL pointer dereference happens. Change-Id: Id9060725037be235303bbc0a82d91d3d2008245c CRs-Fixed: 2202957 Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
* | | | | | | | Merge "Merge android-4.4.120 (d63fdf6) into msm-4.4"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge android-4.4.120 (d63fdf6) into msm-4.4Srinivasarao P2018-03-08
| |\ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | / / | | | |_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/heads/tmp-d63fdf6 Linux 4.4.120 MIPS: Implement __multi3 for GCC7 MIPS64r6 builds net: gianfar_ptp: move set_fipers() to spinlock protecting area sctp: make use of pre-calculated len xen/gntdev: Fix partial gntdev_mmap() cleanup xen/gntdev: Fix off-by-one error when unmapping with holes SolutionEngine771x: fix Ether platform data mdio-sun4i: Fix a memory leak xen-netfront: enable device after manual module load bnxt_en: Fix the 'Invalid VF' id check in bnxt_vf_ndo_prep routine. can: flex_can: Correct the checking for frame length in flexcan_start_xmit() mac80211: mesh: drop frames appearing to be from us drm/ttm: check the return value of kzalloc e1000: fix disabling already-disabled warning xfs: quota: check result of register_shrinker() xfs: quota: fix missed destroy of qi_tree_lock IB/ipoib: Fix race condition in neigh creation IB/mlx4: Fix mlx4_ib_alloc_mr error flow s390/dasd: fix wrongly assigned configuration data led: core: Fix brightness setting when setting delay_off=0 bnx2x: Improve reliability in case of nested PCI errors tg3: Enable PHY reset in MTU change path for 5720 tg3: Add workaround to restrict 5762 MRRS to 2048 lib/mpi: Fix umul_ppmm() for MIPS64r6 ARM: dts: ls1021a: fix incorrect clock references scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error net: arc_emac: fix arc_emac_rx() error paths spi: atmel: fixed spin_lock usage inside atmel_spi_remove drm/nouveau/pci: do a msi rearm on init sget(): handle failures of register_shrinker() ARM: 8731/1: Fix csum_partial_copy_from_user() stack mismatch ipv6: icmp6: Allow icmp messages to be looped back mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM f2fs: fix a bug caused by NULL extent tree hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers) ANDROID: keychord: Check for write data size Revert "binder: add missing binder_unlock()" Linux 4.4.119 binder: add missing binder_unlock() drm/amdgpu: Avoid leaking PM domain on driver unbind (v2) usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path usb: gadget: f_fs: Process all descriptors during bind usb: ldusb: add PIDs for new CASSY devices supported by this driver usb: dwc3: gadget: Set maxpacket size for ep0 IN drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA Add delay-init quirk for Corsair K70 RGB keyboards arm64: Disable unhandled signal log messages by default usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks() irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq() x86/oprofile: Fix bogus GCC-8 warning in nmi_setup() iio: adis_lib: Initialize trigger before requesting interrupt iio: buffer: check if a buffer has been set up when poll is called cfg80211: fix cfg80211_beacon_dup scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info ip_tunnel: fix preempt warning in ip tunnel creation/updating ip_tunnel: replace dst_cache with generic implementation PCI: keystone: Fix interrupt-controller-node lookup powerpc/64s: Fix RFI flush dependency on HARDLOCKUP_DETECTOR netfilter: drop outermost socket lock in getsockopt() ANDROID: sdcardfs: Set num in extension_details during make_item Conflicts: drivers/usb/gadget/function/f_fs.c Change-Id: I594b9686fd64d4b62ebef4452d4f1ccca4f5a77b Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
| | * | | | | | Merge 4.4.120 into android-4.4Greg Kroah-Hartman2018-03-06
| | |\ \ \ \ \ \ | | | | |_|_|_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in 4.4.120 hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers) f2fs: fix a bug caused by NULL extent tree mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM ipv6: icmp6: Allow icmp messages to be looped back ARM: 8731/1: Fix csum_partial_copy_from_user() stack mismatch sget(): handle failures of register_shrinker() drm/nouveau/pci: do a msi rearm on init spi: atmel: fixed spin_lock usage inside atmel_spi_remove net: arc_emac: fix arc_emac_rx() error paths scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error ARM: dts: ls1021a: fix incorrect clock references lib/mpi: Fix umul_ppmm() for MIPS64r6 tg3: Add workaround to restrict 5762 MRRS to 2048 tg3: Enable PHY reset in MTU change path for 5720 bnx2x: Improve reliability in case of nested PCI errors led: core: Fix brightness setting when setting delay_off=0 s390/dasd: fix wrongly assigned configuration data IB/mlx4: Fix mlx4_ib_alloc_mr error flow IB/ipoib: Fix race condition in neigh creation xfs: quota: fix missed destroy of qi_tree_lock xfs: quota: check result of register_shrinker() e1000: fix disabling already-disabled warning drm/ttm: check the return value of kzalloc mac80211: mesh: drop frames appearing to be from us can: flex_can: Correct the checking for frame length in flexcan_start_xmit() bnxt_en: Fix the 'Invalid VF' id check in bnxt_vf_ndo_prep routine. xen-netfront: enable device after manual module load mdio-sun4i: Fix a memory leak SolutionEngine771x: fix Ether platform data xen/gntdev: Fix off-by-one error when unmapping with holes xen/gntdev: Fix partial gntdev_mmap() cleanup sctp: make use of pre-calculated len net: gianfar_ptp: move set_fipers() to spinlock protecting area MIPS: Implement __multi3 for GCC7 MIPS64r6 builds Linux 4.4.120 Change-Id: Ie363d2e798f7bbe76e728c995e605af94667dfe5 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
| | | * | | | | drm/ttm: check the return value of kzallocXiongwei Song2018-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit 19d859a7205bc59ffc38303eb25ae394f61d21dc ] In the function ttm_page_alloc_init, kzalloc call is made for variable _manager, we need to check its return value, it may return NULL. Signed-off-by: Xiongwei Song <sxwjean@gmail.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | | * | | | | drm/nouveau/pci: do a msi rearm on initKarol Herbst2018-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit a121027d2747168df0aac0c3da35509eea39f61c ] On my GP107 when I load nouveau after unloading it, for some reason the GPU stopped sending or the CPU stopped receiving interrupts if MSI was enabled. Doing a rearm once before getting any interrupts fixes this. Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | * | | | | | Merge 4.4.119 into android-4.4Greg Kroah-Hartman2018-02-28
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in 4.4.119 netfilter: drop outermost socket lock in getsockopt() powerpc/64s: Fix RFI flush dependency on HARDLOCKUP_DETECTOR PCI: keystone: Fix interrupt-controller-node lookup ip_tunnel: replace dst_cache with generic implementation ip_tunnel: fix preempt warning in ip tunnel creation/updating scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info cfg80211: fix cfg80211_beacon_dup iio: buffer: check if a buffer has been set up when poll is called iio: adis_lib: Initialize trigger before requesting interrupt x86/oprofile: Fix bogus GCC-8 warning in nmi_setup() irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq() usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks() arm64: Disable unhandled signal log messages by default Add delay-init quirk for Corsair K70 RGB keyboards drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA usb: dwc3: gadget: Set maxpacket size for ep0 IN usb: ldusb: add PIDs for new CASSY devices supported by this driver usb: gadget: f_fs: Process all descriptors during bind usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path drm/amdgpu: Avoid leaking PM domain on driver unbind (v2) binder: add missing binder_unlock() Linux 4.4.119 Change-Id: Ie2b40ffed3554beef8db7b0e41d2a17d12f1a12c Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
| | | * | | | | drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)Alex Deucher2018-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 458d876eb869d5a88b53074c6c271b8b9adc0f07 upstream. We only support vga_switcheroo and runtime pm on PX/HG systems so forcing runpm to 1 doesn't do anything useful anyway. Only call vga_switcheroo_init_domain_pm_ops() for PX/HG so that the cleanup path is correct as well. This mirrors what radeon does as well. v2: rework the patch originally sent by Lukas (Alex) Acked-by: Lukas Wunner <lukas@wunner.de> Reported-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Lukas Wunner <lukas@wunner.de> (v1) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | | * | | | | drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LAKai-Heng Feng2018-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 06998a756a3865817b87a129a7e5d5bb66dc1ec3 upstream. Similar to commit e10aec652f31 ("drm/edid: Add 6 bpc quirk for display AEO model 0."), the EDID reports "DFP 1.x compliant TMDS" but it support 6bpc instead of 8 bpc. Hence, use 6 bpc quirk for this panel. Fixes: 196f954e2509 ("drm/i915/dp: Revert "drm/i915/dp: fall back to 18 bpp when sink capability is unknown"") BugLink: https://bugs.launchpad.net/bugs/1749420 Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com> Cc: <stable@vger.kernel.org> # v4.8+ Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20180218085359.7817-1-kai.heng.feng@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | | | | | | | Merge "drm/msm : add null check on framebuffer in cleanup"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ \
| * | | | | | | | drm/msm : add null check on framebuffer in cleanupLakshmi Narayana Kalavala2018-03-09
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add null check on pointer to fb before dereferencing. CRs-Fixed: 2124966 Change-Id: Ic88aee498c432c8e9350f2d2fad538acd2a9b37f Signed-off-by: Harsh Sahu <hsahu@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
* | | | | | | | Merge "msm: kgsl: Fix XO shutdown issue"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: kgsl: Fix XO shutdown issueSuprith Malligere Shankaregowda2018-03-14
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch ensures device resumes successfully after XO shutdown without any KGSL error. Change-Id: I9eb8e281bc62793dc7521ba72aaeecf946860851 Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
* | | | | | | | Merge "drm: msm: dsi: fix local variable not initialized issue"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ \
| * | | | | | | | drm: msm: dsi: fix local variable not initialized issueGuchun Chen2018-03-13
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Local variable in function should be initialized before using it. Change-Id: I061b10913182ed11b7a8cdb1baab900ac7e10ea6 CRs-Fixed: 2202957 Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
* | | | | | | | Merge "drm/msm/sde: fix flush configuration for physical encoder"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ \
| * | | | | | | | drm/msm/sde: fix flush configuration for physical encoderDhaval Patel2018-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sde encoder merges the flush for both controller but does not configure the split_flush_enable on mdp_top. This causes stage-1 fault or vsync_failure because right side lm/sspp are not getting updated on each update. This patch enables the split_flush only for pingpong split case and also checks the vsync status on correct register. Change-Id: I66b3326f342d63dad0b8d78bd12e882accc1dfa9 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>