Re: [PATCH] drm/i915/psr: vbt change for psr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 5/23/2018 3:33 PM, Jani Nikula wrote:
On Wed, 23 May 2018, vathsala nagaraju <vathsala.nagaraju@xxxxxxxxx> wrote:
From: Vathsala Nagaraju <vathsala.nagaraju@xxxxxxxxx>

For psr block #9, the vbt description has moved to options [0-3] for
TP1,TP2,TP3 Wakeup time from decimal value without any change to vbt
structure. Since spec does not  mention from which VBT version this
change was added to vbt.bsf file, we cannot depend on bdb->version check
to change for all the platforms.

There is RCR inplace for GOP team to  provide the version number
to make generic change. Since Kabylake with bdb version 209 is having this
change, limiting this change to gen9_bc and version 209+ to unblock google.

Tested on skl(bdb version 203,without options) and
kabylake(bdb version 209,212) having new options.

bspec 20131

v2: (Jani and Rodrigo)
     move the 165 version check to intel_bios.c
v3: Jani
     Move the abstraction to intel_bios.
v4: Jani
     Rename tp*_wakeup_time to have "us" suffix.
     For values outside range[0-3],default to max 2500us.
     Old decimal value was wake up time in multiples of 100us.
v5: Jani and Rodrigo
     Handle option 2 in default condition.
     Print oustide range value.
     For negetive values default to 2500us.
v6: Jani
     Handle default first and then fall through for case 2.
v7: Rodrigo
     Apply this change for IS_GEN9_BC and vbt version > 209
v8: Puthik
     Add new function vbt_psr_to_us.
v9: Jani
     Change to v7 version as it's more readable.
     DK
     add comment /*fall through*/ after case2.
Why did you send this again? Did you change something? I already
reviewed the version from yesterday.
no code change, added only  rb tag by you and resent it.
BR,
Jani.



_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux