From: Anthony Koo <anthony....@amd.com>

 - Add new condition for PSR exit due to ESD recovery
 - Add new VB scaling feature for ABM by interpolating between
   existing VB parameters, allowing driver to have fine grain
   scaled VB levels between 0 - 250

Acked-by: Hamza Mahfooz <hamza.mahf...@amd.com>
Signed-off-by: Anthony Koo <anthony....@amd.com>
---
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h 
b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
index b75653faf40e..78e8698fe378 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -208,6 +208,11 @@ union abm_flags {
                 * @abm_new_frame: Indicates if a new frame update needed for 
ABM to ramp up into steady
                 */
                unsigned int abm_new_frame : 1;
+
+               /**
+                * @vb_scaling_enabled: Indicates variBright Scaling Enable
+                */
+               unsigned int vb_scaling_enabled : 1;
        } bitfields;
 
        unsigned int u32All;
@@ -2796,9 +2801,9 @@ struct dmub_cmd_psr_copy_settings_data {
         */
        uint8_t relock_delay_frame_cnt;
        /**
-        * Explicit padding to 4 byte boundary.
+        * esd recovery indicate.
         */
-       uint8_t pad3;
+       uint8_t esd_recovery;
        /**
         * DSC Slice height.
         */
-- 
2.45.1

Reply via email to