summaryrefslogtreecommitdiff
path: root/str.h
blob: 7b8916cb11ab7ea598fe8771f542f203d904bf80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef STR_H
#define STR_H

#include "built_in.h"

extern size_t strlcpy(char *dest, const char *src, size_t size);
extern int slprintf(char *dst, size_t size, const char *fmt, ...)  __check_format_printf(3, 4);
extern int slprintf_nocheck(char *dst, size_t size, const char *fmt, ...);
extern char *strtrim_right(char *p, char c);
extern noinline void *xmemset(void *s, int c, size_t n);

#endif /* STR_H */
>2016-07-16 10:08:46 -0400 commitb9ac76f6ac984158175f8928d10bc1a7038b699b (patch) tree8cd46b7d7719324c6abb088b1d1a3f62fb58dae7 parent1f238536ae37b179e8beb679bcd0b7259eb5e886 (diff)
drm/msm/dsi: Modify port parsing
The DSI interface is going to have two ports defined in its device node. The first port is always going to be the link between the MDP output and the input to DSI, the second port is going to be the link between the DSI output and the connected panel/bridge: ----- ----- ------- | MDP | ------> | DSI | ------> | Panel | ----- ----- ------- (Port 0) (Port 1) Until now, there was only one Port representing the output. Update the DSI host driver such that it parses Port #1 for a connected device. Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat