Commit 8914a48
video/rockchip: rga2: Compatible with kernel module
rga2 will be compiled into a kernel object, because cmd_buf
is a global variable and the address is stored in the modules
section, which makes it unable to obtain the physical address
through virt_to_phy(), so the local variable cmd_reg is used.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I3c088e727365fa8d515238ad88b2edaaee2b9a2b1 parent c2006b9 commit 8914a48
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
926 | 926 | | |
927 | 927 | | |
928 | 928 | | |
929 | | - | |
| 929 | + | |
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
935 | 935 | | |
936 | | - | |
| 936 | + | |
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
| |||
0 commit comments