1
1
Fork 0
forked from suyu/suyu

Merge pull request #641 from bunnei/nvhost-ctrl-fix

nvhost_ctrl: Fix NvOsGetConfigU32 for Snipper Clips.
This commit is contained in:
bunnei 2018-07-09 14:32:22 -07:00 committed by GitHub
commit 0d51cfe2f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ u32 nvhost_ctrl::NvOsGetConfigU32(const std::vector<u8>& input, std::vector<u8>&
} else if (!strcmp(params.param_str.data(), "NVRM_GPU_PREVENT_USE")) {
params.config_str[0] = '0';
} else {
params.config_str[0] = '\0';
params.config_str[0] = '0';
}
} else {
UNIMPLEMENTED(); // unknown domain? Only nv has been seen so far on hardware