Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Xf86 Video Fbturbo
Commits
d6fb7388
Commit
d6fb7388
authored
Mar 20, 2013
by
Siarhei Siamashka
Browse files
Suppress "[DISP] not supported scaler input pixel format:0" dmesg spam
Signed-off-by:
Siarhei Siamashka
<
siarhei.siamashka@gmail.com
>
parent
ecfeb4aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sunxi_disp.c
View file @
d6fb7388
...
...
@@ -271,6 +271,16 @@ int sunxi_layer_reserve(sunxi_disp_t *ctx)
layer_info
.
mode
=
DISP_LAYER_WORK_MODE_SCALER
;
/* Initially set "layer_info.fb" to something reasonable in order to avoid
* "[DISP] not supported scaler input pixel format:0 in Scaler_sw_para_to_reg1"
* warning in dmesg log */
layer_info
.
fb
.
addr
[
0
]
=
ctx
->
framebuffer_paddr
;
layer_info
.
fb
.
size
.
width
=
1
;
layer_info
.
fb
.
size
.
height
=
1
;
layer_info
.
fb
.
format
=
DISP_FORMAT_ARGB8888
;
layer_info
.
fb
.
seq
=
DISP_SEQ_ARGB
;
layer_info
.
fb
.
mode
=
DISP_MOD_INTERLEAVED
;
tmp
[
0
]
=
ctx
->
fb_id
;
tmp
[
1
]
=
ctx
->
layer_id
;
tmp
[
2
]
=
(
uintptr_t
)
&
layer_info
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment