commit | f4eb35d069bb338506dcac80905c0bc9e929ac89 | [log] [tgz] |
---|---|---|
author | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu Jul 27 11:08:49 2023 -0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Aug 23 23:24:41 2023 +0000 |
tree | aff014ebfdf2c101cd22109185e89cb710ecd182 | |
parent | 82cffccd642142b7dd48c9a874718e69e83b2ef3 [diff] |
make isDCMIPowerMgmtSupported cache response isDCMIPowerMgmtSupported is called a lot if any of the DCMI commands are used, so it makes sense to cache the value rather than constantly re-parsing the JSON file, especially since it won't change except for on a fw update. Tested: DCMI power management commands continue to work as before. Change-Id: Id0deb40c4a5332d5f96d7dda6d958f20925c01a9 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.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