Skip to content
Snippets Groups Projects
Commit bebaa4ed authored by yuan.tian's avatar yuan.tian Committed by Gianfranco Mariotti
Browse files

MGS-6681 [#imx-2760] 0113-BUG33142-CL489019-KERNEL-SPACE-dev64x_234062-fix-the


dev64x_234062: fix
 the bug_33142.[Wang.Zijian]

Signed-off-by: default avatarKe Feng <ke.feng@verisilicon.com>

Signed-off-by: default avataryuan.tian <yuan.tian@nxp.com>
parent 28b23c94
Branches
No related tags found
1 merge request!156Draft: [i.MX] mxc: gpu-viv: apply patches
...@@ -135,14 +135,14 @@ phy_is_from_reserved(IN gckOS Os, ...@@ -135,14 +135,14 @@ phy_is_from_reserved(IN gckOS Os,
if (device->contiguousSize) { if (device->contiguousSize) {
if ((Physical >= device->contiguousBase) && if ((Physical >= device->contiguousBase) &&
(Physical <= device->contiguousBase + device->contiguousSize)) { (Physical < device->contiguousBase + device->contiguousSize)) {
status = gcvSTATUS_OK; status = gcvSTATUS_OK;
return status; return status;
} }
} }
if (device->externalSize) { if (device->externalSize) {
if ((Physical >= device->externalBase) && if ((Physical >= device->externalBase) &&
(Physical <= device->externalBase + device->externalSize)) { (Physical < device->externalBase + device->externalSize)) {
status = gcvSTATUS_OK; status = gcvSTATUS_OK;
return status; return status;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment