commit | fd9c361724d02d5f84b354a1f9887067d26df4e9 | [log] [tgz] |
---|---|---|
author | Thang Tran <thuutran@amperecomputing.com> | Wed Sep 20 11:16:59 2023 +0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon Oct 02 19:53:12 2023 +0000 |
tree | ec440382247e407d65285d0abbee8fc0e8886723 | |
parent | 9a686366f401d796d1421e5956a33c488f89df0a [diff] |
dcmi: fix Get/Set Power Limit issues Get Power Limit command: Issue: The completion code byte always is 0x00 Root cause: In the getPowerLimit function, it is checking "pcapEnable" is valid or not instead checking the value of "pcapEnable". Solution: checking the value of "pcapEnable" is true or false. Set Power Limit command: Issue: The length of command always false. Root cause: the first reserved parameter is 3 bytes, not 2 bytes. Solution: Add one more reserved byte. Tested: IPMI dcmi set/get power limit commands work well. Change-Id: I3c97411d9e9c39498c0db64d37e6ca4458161b43 Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage