- 24 Apr, 2016 2 commits
- 22 Feb, 2016 32 commits
-
-
Nikola Majkić authored
-
Jason Hrycay authored
When executing the code "git show-ref -s --abbrev --tags $tag" and the output spans multiple lines, it results in generation of a directory in the kernel objects causing build failure. Ex: $ git show-ref -s --abbrev --tags LNX.LA.3.2-00520-8x26 04163f5 04163f5 Results in: "ln: target `04163f5-00951-g2403ab9/source' is not a directory" Fix this by pruning anything after the first line of output. Change-Id: Iebe1e6fa88951ec0f1dab383adeb6faa72872295 Signed-off-by:
Jason Hrycay <jason.hrycay@motorola.com>
-
Vineet Bajaj authored
For RGB 666 panel format on DSI, a change has been made earlier to set the alignment to MSB. This was causing color corruption on EDP panel as it requires LSB alignment. This fix is to set the MSB alignment for RGB666 format only on DSI panels, so that it doesn't affect EDP. Change-Id: If07b915bb30b00ff1824c7c662bbf4db8a217a6b Signed-off-by:
Vineet Bajaj <vbajaj@codeaurora.org>
-
Benet Clark authored
The tile control parameter is used by the Assertive Display block to control merged mode or independent mode AD for dual-pipe AD. However, in single pipe AD, the tile control should always be set to zero. Change-Id: I0dd3c3b716fd5156d9a0f9206911159d186fd9c7 Signed-off-by:
Benet Clark <benetc@codeaurora.org> Signed-off-by:
Ping Li <quicpingli@codeaurora.org>
-
Casey Piper authored
Power on HPD accesses HDMI registers. HDMI AHB clock needs to be enabled while HPD is being powered on. Change-Id: I483ac56b41e3bd3794878940fbd0d5242dd5d1cd Signed-off-by:
Casey Piper <cpiper@codeaurora.org>
-
Padmanabhan Komanduru authored
Currently for RGB666 format, the MDP output is set as LSB aligned and banding artifacts are observed due to this. Set the MDP output to be MSB aligned to avoid these artifacts and for the display to show up fine with RGB666 format. Change-Id: Id8b7bf03218dd0ea70ada34912afd092e239b89f Signed-off-by:
Padmanabhan Komanduru <pkomandu@codeaurora.org>
-
Sandeep Panda authored
Add support to check ESD status by register read for DSI-v2 based platforms. Change-Id: I013d31c67b3e5c61b7723ecb234be06c2fd5a451 Signed-off-by:
Sandeep Panda <spanda@codeaurora.org> Signed-off-by:
Nirmal Abraham <nabrah@codeaurora.org>
-
Jeykumar Sankaran authored
While calculating source and destination rect of a pipe for the programmed ROI, consider FLIP flags set for the pipe. Change-Id: I631453c26f443b08a23556f83195d9914e05b41d Signed-off-by:
Jeykumar Sankaran <jsanka@codeaurora.org>
-
Siddhartha Agrawal authored
Some video mode panels need to have the command mode operation interleaved on the last line of the video stream. Add support to enable this register via a panel dtsi property. Change-Id: I3dfe36816d7602da4f66d09ea23ac9c6185f9858 Signed-off-by:
Siddhartha Agrawal <agrawals@codeaurora.org>
-
Terence Hampson authored
The short response can be <=2 bytes. Change-Id: Iad322bc892ea29b2acf220ef579d18dea1a91c32 Signed-off-by:
Terence Hampson <thampson@codeaurora.org>
-
Terence Hampson authored
When ppp hw is performing csc from yuv to rgb there is a color swap. In order to account for this we need to swap the unpack and packing order. Change-Id: I55df9a87300f3ce2c9bf5352725f3ce1d2b1b8a4 Signed-off-by:
Terence Hampson <thampson@codeaurora.org>
-
Dhaval Patel authored
Calibration tool should have register access on all layer mixers connected to DSPP pipe and WB path. It should also have control layer register access to read the current layer mixer configuration. Change-Id: If2cc86c2e6f470e090746a400b16cb540948c3e9 Signed-off-by:
Dhaval Patel <pdhaval@codeaurora.org>
-
Shuo Yan authored
Turn off the backlight while shut down panel as it could show white flicker depending on the panel. Change-Id: Ic5d4e97e70c87e5b6e956e27a766136610d6f345 Signed-off-by:
Shuo Yan <shuoy@codeaurora.org>
-
Xiaoming Zhou authored
At the time of dsi interrupt handler registration, there may be a pending dsi interrupt. This can cause a dead-lock, as dsi clocks and resources are not initialized properly yet. Change-Id: I511d0776f5d7b500f0f32f2ae9d92ac031f8e613 Signed-off-by:
Xiaoming Zhou <zhoux@codeaurora.org>
-
Laurent Pinchart authored
commit 72c04af9a2d57b7945cf3de8e71461bd80695d50 upstream. When using the MERAM the LCDC line size needs to be programmed with a MERAM-specific value different than the real frame buffer pitch. Fix it. Reported-by:
Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by:
Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Dave Airlie authored
commit d8636a2717bb3da2a7ce2154bf08de90bb8c87b0 upstream. So we've had a fair few reports of fbcon handover breakage between efi/vesafb and i915 surface recently, so I dedicated a couple of days to finding the problem. Essentially the last thing we saw was the conflicting framebuffer message and that was all. So after much tracing with direct netconsole writes (printks under console_lock not so useful), I think I found the race. Thread A (driver load) Thread B (timer thread) unbind_con_driver -> | bind_con_driver -> | vc->vc_sw->con_deinit -> | fbcon_deinit -> | console_lock() | | | | fbcon_flashcursor timer fires | console_lock() <- blocked for A | | fbcon_del_cursor_timer -> del_timer_sync (BOOM) Of course because all of this is under the console lock, we never see anything, also since we also just unbound the active console guess what we never see anything. Hopefully this fixes the problem for anyone seeing vesafb->kms driver handoff. v1.1: add comment suggestion from Alan. Signed-off-by:
Dave Airlie <airlied@redhat.com> Acked-by:
Alan Cox <alan@lxorguk.ukuu.org.uk> Tested-by:
Josh Boyer <jwboyer@gmail.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Aravind Venkateswaran authored
MDSS DSI driver currently programs certain DSI PLL registers as part of the DSI PHY off sequence. This is incorrect and could lead to some unexpected errors such as DSI PLL getting turned off while the branch clocks are still on. Fix this by removing all such register programming. Change-Id: Ie1e88cd18de6b8ef8804f7a2b34b8b8282166c96 CRs-Fixed: 509801 Signed-off-by:
Aravind Venkateswaran <aravindh@codeaurora.org> Signed-off-by:
Kuogee Hsieh <khsieh@codeaurora.org>
-
Shivaraj Shetty authored
This makes sure that the userspace correctly interprets the end of the vsync timestamp. CRs-Fixed: 639039 Change-Id: I8a0810283a42a9c39a3c8fe36b862bbfd3ecdbea Signed-off-by:
Shivaraj Shetty <shivaraj@codeaurora.org>
-
Jakob Bornecrantz authored
commit 7c4eaca4162d0b5ad4fb39f974d7ffd71b9daa09 upstream. Signed-off-by:
Jakob Bornecrantz <jakob@vmware.com> Signed-off-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Colin Cross authored
The only remaining users of the client->handles rbtree are iterating through it like a list. Keep the rbtree, but change its index to be the buffer address instead of the handle address, which makes ion_handle_lookup a fast rbtree search. Change-Id: Ie7d974b3a5d9831c0d664de85ddae8db3c3abdf9 Signed-off-by:
Colin Cross <ccross@android.com>
-
Jordan Crouse authored
Check to see if dev_get_drvdata returns NULL and handle it. CRs-Fixed: 552580 Change-Id: Ic0dedbad426dbbe15896608213067ee7337f3b34 Signed-off-by:
Jordan Crouse <jcrouse@codeaurora.org>
-
Tarun Karra authored
Dump snapshot when long IB timeout is detected. The GPU command processor is halted on long IB timeout detection, this will halt the GPU pipeline, dumping the snapshot at this point is safe and gives us information to debug long IB timeout. Change-Id: I51bb73b66e11c3b6945c3dfe92af03e21e3c0e62 Signed-off-by:
Tarun Karra <tkarra@codeaurora.org>
-
Shubhraprakash Das authored
Add commands to flush the GPU UCHE when a new context submits commands to GPU. The ensures that the new context does not use stale data present in UCHE. CRs-Fixed: 607976 Change-Id: I123a323be5f3fb9d1f9f96fed5bb68b8d0d27d76 Signed-off-by:
Shubhraprakash Das <sadas@codeaurora.org> Signed-off-by:
Hareesh Gundu <hareeshg@codeaurora.org>
-
Thomas Gleixner authored
commit 5b39939a4 (nohz: Move ts->idle_calls incrementation into strict idle logic) moved code out of tick_nohz_stop_sched_tick() and missed to bail out when the cpu is offline. That's causing subsequent failures as an offline CPU is supposed to die and not to fiddle with nohz magic. Return false in can_stop_idle_tick() if the cpu is offline. Change-Id: I635b765ae5dc2f4e81a38dff21dc8631fca73c49 Reported-and-tested-by:
Jiri Kosina <jkosina@suse.cz> Reported-and-tested-by:
Prarit Bhargava <prarit@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Cc: x86@kernel.org Link: http://lkml.kernel.org/r/alpine.LFD.2.02.1305132138160.2863@ionos Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> [zwliew: Backport to 3.4] Signed-off-by:
Zhao Wei Liew <zhaoweiliew@gmail.com>
-
Nikola Majkić authored
We are not using it
-
Ping Li authored
Check the whether partial update feature is enabled or not before enabling any post processing features. Change-Id: Ibf2111d5ca8714279903980d14e63bab556bb41f Signed-off-by:
Ping Li <quicpingli@codeaurora.org>
-
William Clark authored
According to the specification of AEAD, AEAD request crypt length is not a fixed maximum and associated length is also same. This could lead to potential integer overflow, thus allocating less memory. So we need to check potential integer overflow on AEAD request length. CRs-Fixed: 726872 Change-Id: Ie7708000bfd8c57e2fba8e02230a7ce9cdc9634c Signed-off-by:
William Clark <wclark@codeaurora.org>
-
Vinu Deokaran authored
Fix a typo that was comparing the width instead of the height parameter that lead to black stripe flickering when scrolling on browser. Change-Id: I10e57f876458f46d445b3404d09a5e7606aeb666 Signed-off-by:
Vinu Deokaran <vinud@codeaurora.org>
-
David Howells authored
Add support for invalidating a key - which renders it immediately invisible to further searches and causes the garbage collector to immediately wake up, remove it from keyrings and then destroy it when it's no longer referenced. It's better not to do this with keyctl_revoke() as that marks the key to start returning -EKEYREVOKED to searches when what is actually desired is to have the key refetched. To invalidate a key the caller must be granted SEARCH permission by the key. This may be too strict. It may be better to also permit invalidation if the caller has any of READ, WRITE or SETATTR permission. The primary use for this is to evict keys that are cached in special keyrings, such as the DNS resolver or an ID mapper. Change-Id: I923ea0f0b8f9d6b3ff8ec8beca77b1774984f1c3 Signed-off-by:
David Howells <dhowells@redhat.com>
-
David Howells authored
Make use of the previous patch that makes the garbage collector perform RCU synchronisation before destroying defunct keys. Key pointers can now be replaced in-place without creating a new keyring payload and replacing the whole thing as the discarded keys will not be destroyed until all currently held RCU read locks are released. If the keyring payload space needs to be expanded or contracted, then a replacement will still need allocating, and the original will still have to be freed by RCU. Change-Id: I6c4f784f120951fb51ac9c23856ea37f51770bb9 Signed-off-by:
David Howells <dhowells@redhat.com>
-
Nirmal Abraham authored
Commit bd9474e059bbb2bb62f7e93894cfc3d3ba473fb2 (cpufreq_stats: Adds the fucntionality to load current values for each frequency for all the cores) introduced a change by which 'cpufreq_allstats_create' gets called at initialization (from 'cpufreq_stats_init' instead of 'cpufreq_stat_notifier_policy'). This causes 'cpufreq_allstate_create' to be called before the freq_table is allocated from 'create_all_freq_table'. Due to this, the data for cpu's which are online at boot are not added to the 'all_freq_table' leading to the incorrect reporting of data when the below sysfs command is run - 'cat sys/devices/system/cpu/cpufreq/all_time_in_state'. Correct this behaviour by altering the cpufreq_stats init sequence by which the memory for 'all_freq_table' is allocated before the 'cpufreq_allstats_create' function is called. Change-Id: I2232dacdc0deec4d1987c418e833fe28f74623fc Signed-off-by:
Nirmal Abraham <nabrah@codeaurora.org> Signed-off-by:
Srinivasarao P <spathi@codeaurora.org>
-
Laura Abbott authored
Currently, when dynamically placing regions CMA will allow the memory to be placed anywhere, including highmem. Due to system restrictions, regions may need to be placed in a smaller range. Add support to devicetree to allow these regions to have an upper bound on where they will be placed. Change-Id: Ib4ae194cbb6389e1091e7e04cfd331e9ab67ad05 Signed-off-by:
Laura Abbott <lauraa@codeaurora.org> [skhiani@codeaurora.org: Resolve merge conflicts] Signed-off-by:
Susheel Khiani <skhiani@codeaurora.org>
-
- 21 Feb, 2016 6 commits
-
-
Nikola Majkić authored
This reverts commit abdc7b3d.
-
Nikola Majkić authored
This reverts commit 564ebe5c.
-
Nikola Majkić authored
This reverts commit e03742da.
-
Dave Chinner authored
When sync does it's WB_SYNC_ALL writeback, it issues data Io and then immediately waits for IO completion. This is done in the context of the flusher thread, and hence completely ties up the flusher thread for the backing device until all the dirty inodes have been synced. On filesystems that are dirtying inodes constantly and quickly, this means the flusher thread can be tied up for minutes per sync call and hence badly affect system level write IO performance as the page cache cannot be cleaned quickly. We already have a wait loop for IO completion for sync(2), so cut this out of the flusher thread and delegate it to wait_sb_inodes(). Hence we can do rapid IO submission, and then wait for it all to complete. Effect of sync on fsmark before the patch: FSUse% Count Size Files/sec App Overhead ..... 0 640000 4096 35154.6 1026984 0 720000 4096 36740.3 1023844 0 800000 4096 36184.6 916599 0 880000 4096 1282.7 1054367 0 960000 4096 3951.3 918773 0 1040000 4096 40646.2 996448 0 1120000 4096 43610.1 895647 0 1200000 4096 40333.1 921048 And a single sync pass took: real 0m52.407s user 0m0.000s sys 0m0.090s After the patch, there is no impact on fsmark results, and each individual sync(2) operation run concurrently with the same fsmark workload takes roughly 7s: real 0m6.930s user 0m0.000s sys 0m0.039s IOWs, sync is 7-8x faster on a busy filesystem and does not have an adverse impact on ongoing async data write operations. Signed-off-by:
Dave Chinner <dchinner@redhat.com> Reviewed-by:
Jan Kara <jack@suse.cz> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Change-Id: I9e55d65f5ecb2305497711d4688f0647d9346035
-
Jan Kara authored
In case when system contains no dirty pages, wakeup_flusher_threads() will submit WB_SYNC_NONE writeback for 0 pages so wb_writeback() exits immediately without doing anything. Thus sync(1) will write all the dirty inodes from a WB_SYNC_ALL writeback pass which is slow. Fix the problem by using get_nr_dirty_pages() in wakeup_flusher_threads() instead of calculating number of dirty pages manually. That function also takes number of dirty inodes into account. Change-Id: I458027ae08d9a5a93202a7b97ace1f8da7a18a07 CC: stable@vger.kernel.org Reported-by:
Paul Taysom <taysom@chromium.org> Signed-off-by:
Jan Kara <jack@suse.cz>
-
VijayKumar Gn authored
Front camera in Thea P1B uses MCLK1 where as Thea P1A & Titan Uses MCLK0. Providing a facility to introduce Overriding logic Change-Id: Iac48eda90e7b74229d81d88991e7cce606c42f20 Signed-off-by:
VijayKumar Gn <gxnf38@motorola.com> Reviewed-on: http://gerrit.mot.com/663248 Tested-by:
Jira Key <jirakey@motorola.com> Reviewed-by:
Sudharsan Yettapu <sudharsan.yettapu@motorola.com> Reviewed-by:
Jian-Jun Fan <stevenfan@motorola.com> Reviewed-by:
Christopher Fries <cfries@motorola.com> SLTApproved: Christopher Fries <cfries@motorola.com> Submit-Approved: Jira Key <jirakey@motorola.com>
-