| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
During probe the assertive display capability is read by the post
processing module from device tree/catalog. If chipset supports the
feature, an immutable property is created and exposed to user.
Change-Id: I7b39537b49a6efe346bdf5a0d0697c5875c8d2f7
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
|
| | |\| | | |
| | | | | |
| | | | | |
| | | | | | |
dev/msm-4.4-drm_kms
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Color processing features that are enabled by user-space clients need
to be saved when crtc goes to suspend. Once crtc resumes, the following
commit cycle will restore the features.
Change-Id: I2f169a744a5a19fe6456ff4832208a0cbe78be95
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
|
| | |\| | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
CRTC contains the dspp block which contains color processing modules.
Change adds the pcc support to the CRTC.
Change-Id: Ib4091d43d819ab4f20f16892277ccd1d21285c61
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
|
| | |\| | | | |
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Update catalog for post processing features.
Change-Id: I6b43ee213e504780f8e6bacee0ca7e370a381772
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Avoid duplicating the input fence structure within the plane
driver's duplicate state callback. The user context is not
always available at this point and the pointer can't be
safely copied without taking an extra reference to it.
Change-Id: I0aeb4f83b871e4c9add95113ffc80f10b56f51a6
Signed-off-by: Clarence Ip <cip@codeaurora.org>
|
| | |\ \ \
| | | | |
| | | | |
| | | | | |
dev/msm-4.4-drm_kms
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
MDP hardware supports custom events which needs to be reported by driver
to user-space clients who request for notification. DRM framework
provides poll/read based interface to report the events to the
user-space clients. Change adds support to report msm driver events to
user-space clients.
Change-Id: I4ce75488ad1d1436cafb3451ebc7808961c6cab5
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Qcom compressed formats are defining reverse color component order
compared to base drm formats. Patch applies correct color component
order for compressed formats.
Change-Id: I5faa6ac2745100d019f1d3105481f3c908ce8aae
Signed-off-by: abeykun <abeykun@codeaurora.org>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For HW directly supporting writeback ROI x,y offsets
bypass writeback planes offset recalculation.
Change-Id: I8b38b6026482a4f72607ad74bbec2d3f741b94f8
Signed-off-by: abeykun <abeykun@codeaurora.org>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add foreground and background blend layer constant alpha
programming sequence for msmskunk. Assign correct function to
the mixer HW interface based on HW revision.
Change-Id: I5af26fa56d6434adbea438ad31a1759d43b10b6d
Signed-off-by: abeykun <abeykun@codeaurora.org>
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add max clock property for sde. This property defines
the maximum allowable clock in Hz.
Change-Id: I4e8f40593345abb970c08b837c76d79f1f8a0581
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
|
| | |\ \ \
| | | | |
| | | | |
| | | | | |
dev/msm-4.4-drm_kms
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
SDE clocks need to be enabled when attempting to read h/w
registers through the debugfs interface. The clocks themselves
are reference counted, so it's safe to enable/disable them
around the debugfs access.
Change-Id: I937b29e327799f78b821d4beb4f93504bea28fdc
Signed-off-by: Clarence Ip <cip@codeaurora.org>
|
| | |\| | |
| | | | |
| | | | |
| | | | | |
dev/msm-4.4-drm_kms
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Normal 'has mode changed' checks are sufficient for determining
whether the entire pipe needs to be reprogrammed, but partial
updating of the pipe configuration may also be required due to
user property updates. This change modifies the mode set logic
to also consider incoming property sets that have occurred
since the last update to determine what needs to be reconfigured.
Change-Id: Ib2d15c3882bd4bdb6bc6b53c7f160e6da847a2ff
Signed-off-by: Clarence Ip <cip@codeaurora.org>
|
| | |\ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove msm clock driver header files to avoid
dependency between "msm" and "qcom" clock driver.
Change-Id: I2bd77086f01d0e87e1a0314c38bcf94abf4905de
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
|
| | |\| | | |
| | | | | |
| | | | | |
| | | | | | |
dev/msm-4.4-drm_kms
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Keep backlight API calls under LED config to avoid
compilation issues when it is not defined.
Change-Id: I2e0f507ea580838f31b04d7fc14af1d4997e6819
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
|
| | |\| | | |
| | |/ / /
| |/| | |
| | | | | |
dev/msm-4.4-drm_kms
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fix compilation issues in sde driver when dependencies
are not available.
Change-Id: I1603b39b399c636fd7d4dd9e8d2d3264ae4bc3ef
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
dev/msm-4.4-drm_kms
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This change modifies the video and command mode encoders to use
local sde defined macros for debug and error logging rather than
standard drm ones. The local sde macros allow the logs to be
enabled both from the normal drm_debug and Linux dynamic debug
interfaces.
Change-Id: I25775dbe30f140f3833b3aa7c735f31bbc987f26
Signed-off-by: Clarence Ip <cip@codeaurora.org>
|
| | |\ \ \ \
| | |/ / /
| |/| | |
| | | | | |
dev/msm-4.4-drm_kms
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Writeback can source alpha from upper pipe or from constant
alpha. When pipe alpha is not supported, use constant alpha
to supply alpha value for writeback.
Change-Id: I4381aeb35bc1ef4c18e70174880b223a61e89024
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
|
| | |\| | |
| | | | |
| | | | |
| | | | | |
dev/msm-4.4-drm_kms
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
CDM is used by writeback for luma/chroma output. CDM resource
request is detected in atomic check; however, no explicit crtc
mode change is currently registered; hence, CDM request is not
honoured if there is no other accompanying mode change.
Add explicit crtc mode change request to existing CDM request so
CDM request is processed during encoder mode set.
Change-Id: Ib2518c91d348b0fd00e9ca82cfeaeb1eaa4bf6c3
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove unused header inclusion from the mdp driver,
previously included due to an incorrectly referenced enum.
Change-Id: Idb5236f179195a79335d5b902e61f3050a6644e4
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
dev/msm-4.4-drm_kms
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix resource manager so that if there is no active reservation
it clears out the active topology name property.
Change-Id: Ib6831638ceb2950aca84810869dd74480a5e2c5d
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove a number of unused functions to maintain code clarity and
readability.
Change-Id: Ib1a7bca7dc882d80a819a85ab6c09a5259fe9ffe
Signed-off-by: Clarence Ip <cip@codeaurora.org>
|
| | |\ \ \ \ \
| | | |/ / /
| | |/| | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
drm/msm/sde: remove unused writeback function stubs
drm/msm/sde: remove unused vblank control for writeback
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove unused function stubs from writeback hardware driver. Client
can check if certain feature or capabilty is supported by first checking
operation function pointer before calling the operation.
Change-Id: I21f7c75ab750c76328e77fbb67eda2a8c5d50123
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Writeback does not support external vblank control. Remove
vblank control callback as it is not used.
Change-Id: Ib30ee4388e8c7726f887417af773740e29c96f6e
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The foreground and background alpha calculation is
overlapping between crtc and lm interface. It can
be handled cleanly at single stage and update on
layer mixer. The plane staging is also complex in
same API because same plane is staged multiple times
with multiple mixers. Such invalid configurations
are leading to underruns. This patch fixes the
issues, reduces the complexity of the code and
removes extra register updates on each composition
cycle.
Change-Id: I8ea1367be06963253011ebf7e00a7555a35c7d7c
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Clean up the sde_encoder file by removing
sde_encoder_get_intf_mode which is no longer necessary.
Change-Id: I9cb78a67527f273fe75fa82fb20d081cddfd46b8
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Re-organize interrupt handling code to match device hierarchy
such that the top level handler maps to MDSS level, and core
level handler maps to MDP level. They are moved to separate
files corresponding to top and core respectively. This improves
maintainability of the interrupt handling abstraction.
Change-Id: Ib76cfa0f157722d9c1926bf21fc789c2be19b495
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
|
| | |\ \ \
| | | | |
| | | | |
| | | | | |
dev/msm-4.4-drm_kms
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
OT limit controls the number of outstanding requests on bus client
interface. This patch adds OT limit control for source pipe and
writeback bus clients.
Change-Id: I66c0ede9da3b292538fec83ba62ccd453ee1ec37
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
|
| | |\| | |
| | | | |
| | | | |
| | | | | |
dev/msm-4.4-drm_kms
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QoS control enables source pipe to map request priority based on
source pipe file level using lookup table. Danger/safe control
enables source pipe to provide additional signal based on
buffer fill information for fabric prioritization over other
bus clients.
Change-Id: I95f1da4f5f79eded62c7b39aba23a7ce8363987f
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This change updates the debug logs for the CRTC blend setup
to contain more useful information that is consistent with
normal drm semantics.
Change-Id: I13e13805e31c0eba224a35b3219416c9cd897ca5
Signed-off-by: Clarence Ip <cip@codeaurora.org>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Android's HWC1 requires fences returned after a commit to be
signalled only after the next commit has been received. This
change provides a new 'output_fence_offset' property on the
CRTC to allow user space clients to optionally delay the
fence signalling by an additional commit.
Change-Id: I9938d9b746766ccdfec7568ba80eb6a7bf37b778
Signed-off-by: Clarence Ip <cip@codeaurora.org>
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow for output fence signal time to be determined during each
fence create rather than at initialization. This provides for
more flexibility to support use cases that require different
signalling times.
Change-Id: I2a9467c225e5632a01cd556553368d0990a94327
Signed-off-by: Clarence Ip <cip@codeaurora.org>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Update SDE driver to use the power handle API for
voting the core clock and regulator. This change
also cleans up bunch of error paths in sde_kms init.
Change-Id: I0acdd2308f7e19053d5ec0a8ae148ee6e4bc2433
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The power handle driver parses the regulator and
clocks present on certain device node and it votes/enables
the clock when client request for it. Multiple clients
can request for enable/disable at the same time. It handles
the reference counting logic to avoid removal vote from
other client. It also supports the register bus driver
voting. Data bus driver support is still missing.
Change-Id: I030f302dce82508e89006cc034d825a071fe9967
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Linux ktime events can not be directly compared if the timer
has overflowed between them. This change adds a helper macro
to first take the difference between the events and then
compare the result against zero in an attempt to handle timer
overflow situations.
Change-Id: Ic32afc35fbabb757714b5a583cc384389176b239
Signed-off-by: Clarence Ip <cip@codeaurora.org>
|