| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Make ext_display a standalone module independent of
framebuffer driver, so that it could be shared by
various drivers such as framebuffer and KMS.
CRs-Fixed: 2010135
Change-Id: I336c556cbfbd66d3cb3467acaea038d5d3651f67
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
|
| |\| | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Use audio codec callback to replace the existing sysfs
node which has permission issues. The usage is the same
as previous sysfs node as the input parameters are not
changed. There are 3 different flags could be passed
in: SET_ENABLE, ENABLE, and CONNECT.
CRs-Fixed: 2010135
Change-Id: Id526bd8a3d750f8da108bc42b1e3e8f680950f3b
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
In mdss_fb_copy_destscaler_data function when the code enters error
section it may free up some arbitrary kernel address. This may
generate security vulnerability. Hence fixed the loop condition in
err: to real count of allocated buffer to avoid this arbitrary free.
Change-Id: I4014a3bf9cb0f5da994fa5c0233b7940009be0cd
Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
When disabling the clocks that MDP depends on during an ON to OFF
transition, it is necessary to reverse the clock enabling sequence.
Otherwise, the MDSS AHB clock will stuck in a halt state and cannot
be turned off.
CRs-Fixed: 2004996
Change-Id: I0da7df14e2084701c95fd08585b9a41e0a8cb653
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|/ / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This fix adds notification of idle power collapse to user space
for cmd mode panels. Without this fix user space has no
knowledge of reprogramming the QSEED3 LUTs after idle power
collapse, this needs to be done with the user space knowledge
to keep it's LUT bank offset in sync with the HW used LUT bank
offset.
Change-Id: Ia1fbd07da8c8c854a74cf5dad62f5ec2d1fc962e
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fix the name of the sysfs node used by user modules to
avoid file access issues.
CRs-Fixed: 1114981
Change-Id: Ief0a8ce77a932ce4923e2ec6ee2477d4e2c9627c
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
|
| |\| | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
The MDP_HDMI_DP_CORE_SELECT register acts as a mux to select HDMI
or DP core for shared interface with LPASS. During suspend/resume
use-case with Display Port connected, this register is getting
reset to 0x0 during programming of video mode timing generator for
DSI interface. This causes HDMI mode to be selected and audio doesn't
work after resume on external TV. Handle the programming of this
register.
Change-Id: I32b1825eb90694deaab20df0eafe68ccbcab4ef1
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / /
|/| | | | | | | | | | |
|
| | | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
vbp_min is calculated as 0 because variable is incorrectly
compared. Fix this to correct prefill bw calculation.
Change-Id: I80c3db2898111b5e8acdccc35af745dde30c0509
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|/ /
|/| | | | | | | | | |
|
| | | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
If userspace closes the fd after an error on copying to
userspace, the fences may be freed incorrectly. Make sure fences
are installed after all checks pass.
Bug: 32402303
Change-Id: Ieb50296c87e09549db2734bd70bb6ee8d311ad40
CRs-Fixed: 2000664
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ /
|/| | | | | | | | |
|
| | | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
For sdm630, LM0 and LM2 layer-mixers are present.
LM1 interface mixer is removed. So, enumerate the
LM2 mixer correctly.
Change-Id: Iceff8f215ca34e95556368a13a9b0c8aeb7c2ef3
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
|
| |\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
|
| | | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This change fixes the clock and gdsc disable for smmu.
During transitioning to secure session, smmu session
is detached but vote for clock and gdsc is not removed
since smmu hardware is still being used. So there remains
an additional vote and this renders smmu related clocks
and bimc gdsc always on when we transition back to
non-secure state. This change fixes the unbalance of this vote.
CRs-Fixed: 2004902
Change-Id: I363a4acfd17b96afc05cfe78cd9a4defba674f55
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
|
| |\ \ \ \ \ \ \ |
|
| | |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Incase of underflow, hist bin errors are flooding
the kernel logs. Rate limit the hist bin error logs.
CRs-Fixed: 2005935
Change-Id: Ief360271f0dfa9b68beea87f8fb2bbad379eddac
Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
|
| |\ \ \ \ \ \ \ |
|
| | | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Use DMA pipe for framebuffer as RGB Pipe type is not available
for SDM 3.x.x targets.
Change-Id: I4dad1df561badceb07d473c4530553a5b53753d1
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
|
| |\ \ \ \ \ \ \ |
|
| | | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
When autorefresh is enabled, any kickoff that
gets processed needs to wait to make sure the
transfer is on-going before continuing
the commit; current driver only waits for
autorefresh interrupt but this doesn't
guarantee that transfer is already on-going.
This change waits for the write pointer,
to make sure a transfer is on-going.
Change-Id: I247b3aad8f2f6ea8954d54f34492e293f80f99d4
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
|
| |\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Current driver uses a 1.5 bpp for bandwidth calculations
in any format with 420 chroma sample. This is wrong for
TP10 pixel format, where we need to use 2 bpp.
Fix this issue by making sure driver uses the correct
bpp for this pixel format.
Change-Id: I00c7349513fcb992565bf5ab1463900194a3d146
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
|
| |\ \ \ \ \ \ |
|
| | | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The Display Port driver treats 480p as the default resolution
during driver probe for panel info initialization. At this point
of time, the EDID data of the sink will not be available and the bpp
of sink is set as 18 by default. If a sink is connected first time on
boot-up with 480p resolution, the panel information doesn't get
updated since current VIC and new VIC are the same. If the panel bpp
specified in EDID is not 18, display might fail to come up. Handle
this issue by updating the panel info every time when a DP connection
is established independent of whether VIC changed or not.
Change-Id: Icb8809986724ac3bad6df3721c9efd4815b32853
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
display port"
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
For SDM660 and MSM8998 even though the DP controller version is
the same, there is a difference in the maximum pixel clock
frequency supported between these targets. Add support to parse
this property from the MDSS Display Port dtsi node as an optional
property.
Change-Id: I568ac44e41c7bf34f4b87b3199cdecad54e166c3
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Define an interface to help user-space to pass the HDR stream
information to the driver which will be used in configuring HDMI
and DP interfaces.
Use the new interface in HDMI and make necessary changes while
reading the info.
CRs-Fixed: 2004813
Change-Id: I3447c7b2ad5c4ca072becbeb2201e27c4f57c1dd
Signed-off-by: Arun Kumar K.R <akumarkr@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ |
|
| | | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
For some DSI panels where porch values are less, if BTA operation
does not finish in BLLP period, then fake overflow errors are
expected. So disable DSI FIFO overflow errors before triggering
BTA and enable it back once BTA acknowledgment is received for
video mode panels.
Change-Id: If63ac6435f5786c834fe797478c38a9a2f51076b
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ |
|
| | | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
After continuous splash reconfiguration, when turning off the
clocks ping pong split configuration is not handled properly.
Pingpong split uses single controller and dual context, so
the second context of the same controller should be used
instead of the slave controller.
Change-Id: Ibafdfd0aba4e0f02f141d60cb8866f353137a3ce
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ |
|
| | | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Add MDSS version info along with other capabilities
for sdm630.
Change-Id: Ia34831b56c1ca32d17b56e6030c847b629a13a0b
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ |
|
| | | |_|_|_|/ / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The width and height in calculation of the clk_rate comes from user.
This change checks these values against its maximum value allowed. In
case of overflow it returns immediately with invalid argument.
Change-Id: Idbf7cf0c425769ab7b672b781aa791bbfd77916d
Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
|
| |\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
MDP and ROT use same Smmu context banks. If rotation request comes
when MDP is operating on physical address then fail the request such
that composition can fall back onto GPU. Allow HW rotation when MDP
switches to Virtual address access.
Change-Id: I8662855ddd09d9ca2bb074a0bcc11e759a6809df
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Rotator and MDP share same Vbif. Made changes to apply vbif
remapper settings for respective rotator xin id.
Also, due to common vbif, register mutex lock is now shared.
Change-Id: Ifdfb36ce5c8f26196ab4f8f56487cf135bbd12ce
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ |
|
| | | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This change enables the mutex for driver dest_scaler data structure.
Before this change display_thread could be updating the registers
based on the dest scaler data for the previous commit and the user
thread could go ahead and update the same data strcture for the
same commit. This could cause incorrect register programming.
This change necessitated moving the dest scaler update
out of pp updates so that we don't block the mutex till the end of
the commit.
CRs-Fixed: 1105994
Change-Id: I75d6f159e02fb1c0ed95bc5b6224843c61ec2da2
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
|
| |\ \ \ \ \ \ \ \ |
|
| | | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
For targets not having a HAL component, a userspace testapp has
to be manually run to trigger a frame update which will in-turn
trigger the unblank sequence.
This testapp needs to be run within the specified timeout value
of the hpd_comp. Current value of 2 seconds is not enough and
causes false errors and subsequent failures.
Increase timeout value to 5 seconds to avoid false timeouts for
no framework cases.
CRs-Fixed: 1115561
Change-Id: I14f64f781c19268510128f5fa819e7fd0d33c78b
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
|