summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm (follow)
Commit message (Collapse)AuthorAge
...
* | | | | | | 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 "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>
* | | | | | | Merge "drm: msm: sde: fix potential NULL pointer dereference"Linux Build Service Account2018-03-15
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | drm: msm: sde: fix potential NULL pointer dereferenceGuchun Chen2018-03-13
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pointer should be checked after returning from function or being passed from other function. So add checker for this to avoid NULL pointer dereference. Change-Id: Ie86f47230b50433e08259ee5f6bbb52bedf749b1 CRs-Fixed: 2202957 Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
* | | | | | [drm-sde] remove additional release fence offsetCamus Wong2018-03-09
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove additional release fence offset to fix deadlock between graphics and display when only two buffers are used. Change-Id: Ifc94dae28484e13fae6cb9a7dfd19c1cb13c7c20 Signed-off-by: Camus Wong <camusw@codeaurora.org>
* | | | | Merge "DRM: SDE: Fix potential buffer overflow in SDE encoder"Linux Build Service Account2018-03-08
|\ \ \ \ \
| * | | | | DRM: SDE: Fix potential buffer overflow in SDE encoderCamus Wong2018-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _sde_encoder_misr_set function doesn't validate "count" argument. This change add logic to check count against the MAX buffer size. Change-Id: I60d1784c73a182f47da93510f63e1fd34236cd45 Signed-off-by: Camus Wong <camusw@codeaurora.org>
* | | | | | Merge "drm/msm: HPD_OFF Property for SDE HDMI Connector"Linux Build Service Account2018-03-06
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | drm/msm: HPD_OFF Property for SDE HDMI ConnectorNavid Bahrani2018-02-16
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding a new "HPD_OFF" atomic property for the SDE Connector which enables or disables the hpd related clocks for the hdmi display Change-Id: Ie46c97ae0db9bad231acf7efc660499bac28f45a Signed-off-by: Navid Bahrani <nbahrani@codeaurora.org>
* | | | | DBA: add VREG sequence in power on / off sequenceCamus Wong2018-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VREG was enabled during init and never turn off until the bridge chip unregister. We need to add VREG on/off sequence into bridge chip power on/off in order to reduce platform current draw. Change-Id: Ib8d59665c55035c36d10d868fb256fcfaa243f84 Signed-off-by: Camus Wong <camusw@codeaurora.org>
* | | | | drm/msm/sde: setup alpha and bit format on qseedv3Dhaval Patel2018-02-20
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setup valid alpha and bit format on qseedv3 for RGB formats. Change-Id: I28d720fecab78771125c3fa533a46f58663666d7 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
* | | | Merge "SDE: HDMI: Disable HPD if non-pluggable flag is set"Linux Build Service Account2018-02-13
|\ \ \ \
| * | | | SDE: HDMI: Disable HPD if non-pluggable flag is setCamus Wong2018-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For non-pluggable display, HPD hardware should be disabled. HPD related clocks should also shutdown during suspend. Change-Id: I59475b07b44c2a7f1784d160263a6bca7701a702 Signed-off-by: Camus Wong <camusw@codeaurora.org>
* | | | | Merge "DRM: DBA: Adding hardware power sequence to DBA power off code"Linux Build Service Account2018-02-13
|\ \ \ \ \
| * | | | | DRM: DBA: Adding hardware power sequence to DBA power off codeCamus Wong2018-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding power off register sequence to reduce power in power off. Adding switch GPIO sequence in power on/off call. Change-Id: Ifbe57852a43e1b1d0f05594a84a10540cfeb6be7 Signed-off-by: Camus Wong <camusw@codeaurora.org>
* | | | | | DRM: SDE: Avoid vblank request to the same stateCamus Wong2018-02-08
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change add check to existing vblank request state. It will avoid enable vblank multiple times. It will also avoid disable vblank multiple times. Change-Id: I10781c33e51b1032b72fcbc1a01a7d01be8be510 Signed-off-by: Camus Wong <camusw@codeaurora.org>
* | | | | Merge "drm/msm: Corrected CCU load bit configuration"Linux Build Service Account2018-02-07
|\ \ \ \ \
| * | | | | drm/msm: Corrected CCU load bit configurationVenkateswara Rao Tadikonda2018-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CCU load_bit is supposed to be configured for RB_PERFCTR_CCU register, but it is configured for RB_POWERCTR_CCU register. Updated the RB_PERFCTR_CCU register configuration with CCU load_bit. Change-Id: I3b4ce056923b5bd39bc274a0744008f5bc5db0f1 Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
* | | | | | Merge "drm/msm: restore perfcounter after turning on GPMU"Linux Build Service Account2018-02-06
|\| | | | | | |/ / / / |/| | | |
| * | | | drm/msm: restore perfcounter after turning on GPMUVenkateswara Rao Tadikonda2018-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restore of TP perfcounters before turning ON the GPMU causes the GPU fault and recovery. Restore the perfcounters after turning ON the GPMU. Change-Id: I3c00ed0a487d452e29f360300f92227784b81bbf Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
* | | | | Merge "drm/msm: Fix prototypes of the stub functions"Linux Build Service Account2018-01-11
|\ \ \ \ \
| * | | | | drm/msm: Fix prototypes of the stub functionsCamus Wong2018-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix prototypes of the stub version of these functions when QCOM_BUS_SCALING is not enabled sde_power_data_bus_parse sde_power_data_bus_unregister Change-Id: I049e9da3e32902e23fcd1faca1693f18686914a5 Signed-off-by: Camus Wong <camusw@codeaurora.org>
* | | | | | Merge "Merge android-4.4.104 (8bc4213) into msm-4.4"Linux Build Service Account2018-01-11
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Merge android-4.4.104 (8bc4213) into msm-4.4Srinivasarao P2018-01-02
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/heads/tmp-8bc4213 Linux 4.4.104 nfsd: Fix another OPEN stateid race nfsd: Fix stateid races between OPEN and CLOSE nfsd: Make init_open_stateid() a bit more whole drm/i915: Prevent zero length "index" write drm/i915: Don't try indexed reads to alternate slave addresses NFS: revalidate "." etc correctly on "open". mtd: nand: Fix writing mtdoops to nand flash. drm/panel: simple: Add missing panel_simple_unprepare() calls drm/radeon: fix atombios on big endian Revert "drm/radeon: dont switch vt on suspend" bcache: Fix building error on MIPS eeprom: at24: check at24_read/write arguments mmc: core: Do not leave the block driver in a suspended state KVM: x86: inject exceptions produced by x86_decode_insn KVM: x86: Exit to user-mode on #UD intercept when emulator requires KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk btrfs: clear space cache inode generation always mm/madvise.c: fix madvise() infinite loop under special circumstances mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d() x86/efi-bgrt: Replace early_memremap() with memremap() x86/efi-bgrt: Fix kernel panic when mapping BGRT data ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio x86/efi: Build our own page table structures x86/efi: Hoist page table switching code into efi_call_virt() x86/mm/pat: Ensure cpa->pfn only contains page frame numbers ipsec: Fix aborted xfrm policy dump crash netlink: add a start callback for starting a netlink dump Documentation: tee subsystem and op-tee driver tee: add OP-TEE driver tee: generic TEE subsystem dt/bindings: add bindings for optee kernel.h: add u64_to_user_ptr() ARM: 8481/2: drivers: psci: replace psci firmware calls ARM: 8480/2: arm64: add implementation for arm-smccc ARM: 8479/2: add implementation for arm-smccc ARM: 8478/2: arm/arm64: add arm-smccc UPSTREAM: net: xfrm: allow clearing socket xfrm policies. Conflicts: arch/arm64/kernel/arm64ksyms.c arch/arm64/kernel/asm-offsets.c arch/arm64/kvm/hyp/fpsimd.S drivers/Kconfig drivers/Makefile drivers/firmware/psci.c drivers/gpu/drm/msm/msm_gem_submit.c drivers/mmc/core/bus.c include/linux/arm-smccc.h Change-Id: Ib22051f60c49ecf3bb7e18f9940ba9a4ac5143af Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
| | * | | | kernel.h: add u64_to_user_ptr()Gustavo Padovan2017-12-02
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function had copies in 3 different files. Unify them in kernel.h. Change-Id: Iff8fbe002d3ceb81068e9cbd0acdf5fd5be14783 Cc: Joe Perches <joe@perches.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel.vetter@intel.com> Cc: Rob Clark <robdclark@gmail.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Acked-by: Daniel Vetter <daniel.vetter@intel.com> [drm/i915/] Acked-by: Rob Clark <robdclark@gmail.com> [drm/msm/] Acked-by: Lucas Stach <l.stach@pengutronix.de> [drm/etinav/] Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 3ed605bc8a0a688d8750a1e2eff39c854418c5cf) Signed-off-by: Victor Chong <victor.chong@linaro.org>
* | | | | drm/msm/sde: clear blend stages of all mixersAbhinav Kumar2018-01-03
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the blending stages of all the mixers is not cleared when switching mixer configurations or configuring solid fill mode. As a result stale pipes remain connected when switching mixer configurations causing smmu faults. Fix the logic to clear the blend stages of all the mixers. Change-Id: I1a3c5a020d6bc04657cb5357a2cd60c1a53ce4c7 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
* | | | Merge "Merge android-4.4.97 (46d256d) into msm-4.4"Linux Build Service Account2017-12-30
|\| | |
| * | | Merge android-4.4.97 (46d256d) into msm-4.4Srinivasarao P2017-12-18
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/heads/tmp-46d256d Linux 4.4.97 staging: r8712u: Fix Sparse warning in rtl871x_xmit.c xen: don't print error message in case of missing Xenstore entry bt8xx: fix memory leak s390/dasd: check for device error pointer within state change interrupts mei: return error on notification request to a disconnected client exynos4-is: fimc-is: Unmap region obtained by of_iomap() staging: lustre: ptlrpc: skip lock if export failed staging: lustre: hsm: stack overrun in hai_dump_data_field staging: lustre: llite: don't invoke direct_IO for the EOF case platform/x86: intel_mid_thermal: Fix module autoload scsi: aacraid: Process Error for response I/O xen/manage: correct return value check on xenbus_scanf() cx231xx: Fix I2C on Internal Master 3 Bus perf tools: Only increase index if perf_evsel__new_idx() succeeds drm/amdgpu: when dpm disabled, also need to stop/start vce. i2c: riic: correctly finish transfers ext4: do not use stripe_width if it is not set ext4: fix stripe-unaligned allocations staging: rtl8712u: Fix endian settings for structs describing network packets mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped mfd: ab8500-sysctrl: Handle probe deferral ARM: pxa: Don't rely on public mmc header to include leds.h mmc: s3cmci: include linux/interrupt.h for tasklet_struct PM / wakeirq: report a wakeup_event on dedicated wekup irq Fix tracing sample code warning. tracing/samples: Fix creation and deletion of simple_thread_fn creation drm/msm: fix an integer overflow test drm/msm: Fix potential buffer overflow issue perf tools: Fix build failure on perl script context ocfs2: fstrim: Fix start offset of first cluster group during fstrim ARM: 8715/1: add a private asm/unaligned.h ARM: dts: mvebu: pl310-cache disable double-linefill arm64: ensure __dump_instr() checks addr_limit ASoC: adau17x1: Workaround for noise bug in ADC KEYS: fix out-of-bounds read during ASN.1 parsing KEYS: return full count in keyring_read() if buffer is too small cifs: check MaxPathNameComponentLength != 0 before using it ALSA: seq: Fix nested rwsem annotation for lockdep splat ALSA: timer: Add missing mutex lock for compat ioctls BACKPORT: xfrm: Clear sk_dst_cache when applying per-socket policy. Revert "ANDROID: sched/rt: schedtune: Add boost retention to RT" cpufreq: Drop schedfreq governor ANDROID: sched/rt: schedtune: Add boost retention to RT ANDROID: sched/rt: add schedtune accounting ANDROID: Revert "arm64: move ELF_ET_DYN_BASE to 4GB / 4MB" ANDROID: Revert "arm: move ELF_ET_DYN_BASE to 4MB" sched: EAS: Fix the calculation of group util in group_idle_state() sched: EAS: update trg_cpu to backup_cpu if no energy saving for target_cpu sched: EAS: Fix the condition to distinguish energy before/after Conflicts: drivers/cpufreq/Kconfig drivers/gpu/drm/msm/msm_gem_submit.c kernel/sched/core.c kernel/sched/fair.c kernel/sched/rt.c kernel/sched/sched.h Change-Id: I0d8c5287cb67fd47c8944a002c0ca71adcdef537 Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
| | * | drm/msm: fix an integer overflow testDan Carpenter2017-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 65e93108891e571f177c202add9288eda9ac4100 upstream. We recently added an integer overflow check but it needs an additional tweak to work properly on 32 bit systems. The problem is that we're doing the right hand side of the assignment as type unsigned long so the max it will have an integer overflow instead of being larger than SIZE_MAX. That means the "sz > SIZE_MAX" condition is never true even on 32 bit systems. We need to first cast it to u64 and then do the math. Fixes: 4a630fadbb29 ("drm/msm: Fix potential buffer overflow issue") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com> Cc: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | * | drm/msm: Fix potential buffer overflow issueKasin Li2017-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 4a630fadbb29d9efaedb525f1a8f7449ad107641 upstream. In function submit_create, if nr_cmds or nr_bos is assigned with negative value, the allocated buffer may be small than intended. Using this buffer will lead to buffer overflow issue. Signed-off-by: Kasin Li <donglil@codeaurora.org> Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com> Cc: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | * | drm/msm: Verify that MSM_SUBMIT_BO_FLAGS are setJordan Crouse2017-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit a6cb3b864b21b7345f824a4faa12b723c8aaf099 ] For every submission buffer object one of MSM_SUBMIT_BO_WRITE and MSM_SUBMIT_BO_READ must be set (and nothing else). If we allowed zero then the buffer object would never get queued to be unreferenced. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | * | drm/msm: Ensure that the hardware write pointer is validJordan Crouse2017-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit 88b333b0ed790f9433ff542b163bf972953b74d3 ] Currently the value written to CP_RB_WPTR is calculated on the fly as (rb->next - rb->start). But as the code is designed rb->next is wrapped before writing the commands so if a series of commands happened to fit perfectly in the ringbuffer, rb->next would end up being equal to rb->size / 4 and thus result in an out of bounds address to CP_RB_WPTR. The easiest way to fix this is to mask WPTR when writing it to the hardware; it makes the hardware happy and the rest of the ringbuffer math appears to work and there isn't any point in upsetting anything. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> [squash in is_power_of_2() check] Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | | | Merge "drm/msm: Set proper GEM address space range for drm mm allocator"Linux Build Service Account2017-12-18
|\ \ \ \ | |/ / / |/| | |
| * | | drm/msm: Set proper GEM address space range for drm mm allocatorVenkateswara Rao Tadikonda2017-12-13
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GEM address space range provided to drm mm allocator is not correct. Start address and size of the address space should be passed to drm mm initializer. Instead of size, end address of address space range is passed to drm mm initializer. msm_gem_get_iova() returns 0, even if memory mapping to virtual address space is failed. Return proper error value to user space driver incase of error. Change-Id: I356a63b873094cb465909437dcdab9513e27b7ff Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
* | | Merge "drm/msm: Correctly retrieve gpu's active power level"Linux Build Service Account2017-12-15
|\ \ \
| * | | drm/msm: Correctly retrieve gpu's active power levelSharat Masetty2017-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parsing logic wrongly assumes the position of the initial/active power level value in the gpu dts file. This leads to the active power level always defaulting to a value of 1. Look for the initial power level one level up in the device tree. Change-Id: I63f8c8efd05ad3693c6f399f58bed44ac84105d2 Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
* | | | Merge "Revert "DRM: SDE: Update the hdmi bridge to handle HPD clock""Linux Build Service Account2017-12-06
|\ \ \ \
| * | | | Revert "DRM: SDE: Update the hdmi bridge to handle HPD clock"Rahul Sharma2017-12-05
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b31584ba6835d6b3c5e0c59df4faf5f93a0b00d2. Change-Id: I8c58fb3124b946224028df75e4963f9331ac2ec3 Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
* | | | Merge "drm/msm: Add API support for getting GPU hang timeout"Linux Build Service Account2017-12-06
|\ \ \ \
| * | | | drm/msm: Add API support for getting GPU hang timeoutSharat Masetty2017-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Userspace needs to know the GPU timeout value to support Khronos robust GPU timeout extension. The timeout value is returned to the user in millisecond resolution. Change-Id: Iba2ff43fce6d21da240356b392afa7a6e7a618ad Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
* | | | | Merge "drm/msm: Save buffer iova's for rd-dump"Linux Build Service Account2017-12-06
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | drm/msm: Save buffer iova's for rd-dumpSharat Masetty2017-11-28
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rd-dump needs the buffer iova's captured in the submit path. This helps the offline parser construct the relocs correctly. Save the buffer iova's for the buffers which were not mapped yet and then call the API to rd-dump the submission. Change-Id: Ic771f3e76d8b3b943300e69fd62320f387c2d4c0 Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
* | / / DRM: SDE: Update the hdmi bridge to handle HPD clockCamus Wong2017-11-27
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | For non-pluggable display, it should not enable HPD. Instead, the bridge should handle all the clocks for HDMI. Also the scrambler should be activated after the HDMI has power on the clock. Change-Id: I9162a49b8f314de4d30b0d82c7867a639ddf05a6 Signed-off-by: Camus Wong <camusw@codeaurora.org>
* | | Merge "drm/msm: protect register dumps and debugfs with mutex"Linux Build Service Account2017-11-23
|\ \ \
| * | | drm/msm: protect register dumps and debugfs with mutexLloyd Atkinson2017-11-21
| |/ / | | | | | | | | | | | | | | | | | | | | | Add a mutex to serialize sde debug register dumps for back-to-back dumps, as well as any debugfs access. Change-Id: I7f6186575df021ce48e18ea980f9c2108b756283 Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
* | | drm/msm: implement HDMI teardown sequence for DRM driverAbhinav Kumar2017-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the teardown sequence in the DRM HDMI driver is incorrect and it places the HDMI controller in an incorrect state during cable unplug OR device teardown. Fix the teardown sequence and follow the hardware programming sequence correctly to avoid artifacts. Change-Id: Ifb9ec303fa710409087a74c03435c83823d02763 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>