* Add support for low and high brightness lp modes
and toggle between them at the brightness
threshold of 100.
* Handle nolp based on mi,aod-nolp-command-enabled
Change-Id: Ib915ab3d47e6a5b0cd45397a3afac2c08aa31784
In the current implementation the doze status command might set the backlight
of the panel before receiving a frame from the driver during the first commit.
There is chance for garbage content to be shown onto the panel.
This change imposes a condition to delay the fod hbm command until the
first frame is received from the HW.
In the current implementation the fod hbm command might set the backlight
of the panel before receiving a frame from the driver during the first commit.
There is chance for garbage content to be shown onto the panel.
This change imposes a condition to delay the fod hbm command until the
first frame is received from the HW.
The current brightness level mapping does not correctly map the
brightness level range from user space to the range supported by the
panel.
For example if the max user brightness reported is 4095, and panel
backlight range is 0-255. Then user is expected to be able to set
brightness in range from 0-4095, but current logic truncates at
bl-max (255). Moreover it doesn't take into account bl-min.
Fix logic such that the brightness range set by user correctly scales to
the backlight level from panel.
Bug: 139263611
Change-Id: Ic70909af63fb5b66ebc1434477f2fc41a785ce1f
Signed-off-by: Adrian Salido <salidoa@google.com>
sde_splash_data struct can fit MAX_DSI_DISPLAYS displays and >=
comparison here prevents us from storing the last display when
num_displays == MAX_DSI_DISPLAYS.
Change-Id: I56e62f77a56cdd2d5086e46762614c941ddacd6a
In the event when msm_gem_delayed_import returns an error, reset
the obj_dirty property to true to allow the buffer to detach and
attach again.
Change-Id: Ib8da8f237c5a4ab696675cbcf66f1a3dfae02639
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
"LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0"
* tag 'LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
disp: msm: sde: skip msm_lastclose if display is stuck in splash
disp: msm: cancel all delayed_works before triggering msm_lastclose
disp: msm: sde: cancel delayed work items during TUI transition
Change-Id: I8dbdda8ada31d7d58a5aceaf7e72d6955cee2ec2
CONFIG_DRM_MSM_DP is disabled on holi, making this function undefined
and breaking compilation. Like all other inline functions, make this one
return 0.
Change-Id: I1ae0eeab563c3a67fb35d92e8ad2c391458778e6
Based on panel hardware support, display brightness levels can
be very high value. This high value display brightness cooling
device levels can cause exceeding PAGE_SIZE for cooling device stat
buffer. It leads to buffer failure for cooling device stat feature.
Limit display panel mitigation level max to 255. If hardware
supports more than 255, then scale brightness levels fit
into above limit.
Change-Id: Ieeee4ff2aa5cd884819b30b4fd9839e48ac4d804
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
"LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0"
* tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
disp: msm: dsi: clear the panel esd_recovery_pending in power on commit
drm: msm: remove YUV format setting
Change-Id: I35059b0dc99d1d3e2c9d1bff1fe6b121d00b173b
"LA.UM.9.14.r1-20700-LAHAINA.QSSI13.0"
* tag 'LA.UM.9.14.r1-20700-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
disp: msm: sde: fix min ib vote in mnoc and ebi_ib path
disp: msm: dsi: add support for dsi config
Change-Id: Ie88226bfc57764c185a1e013e9ed6e2a6819a419
"LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0"
* tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
disp: msm: add msm framebuffer emulation
makefile: add gki config support for display techpack for kona
Revert "disp: msm: dsi: Add DSI PLL support for 7nm_v4_1 arch"
disp: msm: dsi: Add DSI PLL support for 7nm_v4_1 arch
disp: msm: sde: disable dsi ctrl regulator during deepsleep
disp: msm: sde: update uidle ctl register only for master encoder
disp: msm: avoid minidump region addition for mdss register dumps
disp: msm: add skip panel power off dt property
Change-Id: I1ade9627b3ade718cb923b0ca23031fc9e639808
"LA.UM.9.14.r1-19500-LAHAINA.QSSI12.0"
* tag 'LA.UM.9.14.r1-19500-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
disp: msm: use vzalloc for large allocations
disp: msm: sde: Fix data width calculation when widebus is enabled
drm: msm: call rsc hw_init after hibernation
disp: msm: sde: remove redundant backlight update
disp: msm: sde: take min ib votes from perf config
disp: msm: sde: validate plane mode and gem obj flags
disp: msm: dsi: fix compressed RGB101010 support
disp: msm: sde: set parent to xo for link clks while enterting suspend
disp: msm: sde: while timing engine enabling poll for active region
disp: msm: sde: fix null pointer dereference
disp: msm: sde: set NOAUTOEN for sde irq to match with power event
disp: msm: sde: always set CTL_x_UIDLE_ACTIVE register to "1"
disp: msm: sde: move sde power event call into kms post init
disp: msm: sde: fix RM poll timeouts during PM suspend/resume usecase
disp: msm: sde: remove clearing cur_master in encoder enable function
disp: msm: sde: cancel delayed_off_work before reinitialization
disp: msm: sde: update TEAR_SYNC_WRCOUNT register before vsync counter
disp: msm: sde: disable vsync counter before tear check update
disp: msm: sde: disable vsync_in to update tear check
disp: msm: sde: avoid tx wait during DMS for targets with dsc rev2
disp: msm: sde: avoid irq enable/disable during modeset
disp: msm: fix rsc static wakeup time calculation
disp: msm: dsi: allocate DSI command buffer during bind
disp: msm: sde: update uidle_db_updates in both enable/disable cases
disp: msm: dsi: add API to handle PHY programming during 0p9 collapse
disp: msm: sde: modify format specifier
disp: msm: dsi: Clear slave dma status only for broadcast command
disp: msm: sde: avoid CWB in power on commit
disp: msm: sde: avoid sde irq enable or disable when sde irq not active
disp: msm: dsi: remove early return from dma_cmd_wait_for_done
disp: msm: sde: protect file private structure with mutex lock
disp: msm: add support for twm entry
disp: msm: sde: add twm mode sysfs mode
disp: msm: sde: add sysfs node to give panel power state
disp: msm: dsi: Support uncompressed rgb101010 format
disp: msm: sde: avoid rsvp_nxt allocation for suspend commit
disp: rotator: remove ubwc format support for rotator
disp: msm: sde: add changes to allocate compatible cwb mixers in RM
disp: msm: sde: add evt log in rsc timer calculation
msm: disp: rotator: add ROT macros for logs
disp: msm: dp: replace pr_err with DP_ERR
disp: msm: dsi: Do not call devm_clk_put() with invalid clk
disp: msm: sde: disable CWB crop after cwb session is ended
disp: rotator: remove warning log from spin_lock
disp: msm: sde: protect file private structure with mutex lock
disp: msm: dsi: add support for ultra low power state
disp: msm: sde: switch rsc state before CTL_PREPARE in dual display
disp: msm: sde: add checks to avoid null pointer dereference
drm: msm: dsi: Update DSI parser util to skip disabled child nodes
disp: msm: qpic: fix kw issues in QPIC display driver
disp: msm: dsi: Fix deadlock issue in debugfs_esd_trigger_check function
Change-Id: I4acda3b051e4306f0c1f1a99c9aa61dfeb99ef90