Skip to content

Commit 9eeba5b

Browse files
committed
lfb: ipc performance improvement
1 parent a1cee7a commit 9eeba5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

devices/lfb/src/main.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ int main() {
110110
cmd->position += cmd->length;
111111
}
112112

113-
luxSendDependency(cmd);
113+
luxSendKernel(cmd);
114114
} else if(cmd->header.header.command == COMMAND_READ) {
115115
// reading from the frame buffer
116116
// we use a back buffer to avoid slow reading from video RAM
@@ -131,7 +131,7 @@ int main() {
131131
cmd->position += truelen;
132132
}
133133

134-
luxSendDependency(cmd);
134+
luxSendKernel(cmd);
135135
} else if(cmd->header.header.command == COMMAND_IOCTL) {
136136
// ioctl()
137137
IOCTLCommand *ioctlcmd = (IOCTLCommand *) cmd;
@@ -155,7 +155,7 @@ int main() {
155155
ioctlcmd->header.header.status = -ENOTTY;
156156
}
157157

158-
luxSendDependency(ioctlcmd);
158+
luxSendKernel(ioctlcmd);
159159
} else {
160160
luxLogf(KPRINT_LEVEL_WARNING, "unimplemented command 0x%X, dropping message...\n", cmd->header.header.command);
161161
}

0 commit comments

Comments
 (0)