drm/rockchip: ebc_dev: release version v2.17

fix check part buf size for regal mode
support change overlay mode lut
fix overlay refresh uncomplete
fix overlay bw framecout

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Icf5b5e5536e33d1225091abb3ce263be4057a6d6
This commit is contained in:
Zorro Liu
2021-11-25 14:58:14 +08:00
committed by Tao Huang
parent 4b382d7e3f
commit ce8d8b5887
4 changed files with 12686 additions and 12521 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -50,6 +50,12 @@ int epd_lut_from_file_init(struct device *dev, void *waveform, int size);
const char *epd_lut_get_wf_version(void);
int epd_lut_get(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int needpic);
//you can change overlay lut mode here
static inline int epd_overlay_lut(void)
{
return WF_TYPE_AUTO;
}
/*
* PVI Waveform Interfaces
*/

View File

@@ -14,7 +14,7 @@
.p2align 3,,7
.type pvi_lut_init_wf_table, %function
pvi_lut_init_wf_table:
.LFB1557:
.LFB1558:
.file 1 "drivers/gpu/drm/rockchip/ebc-dev/epdlut/pvi_waveform.c"
.loc 1 679 0
.cfi_startproc
@@ -88,13 +88,13 @@ pvi_lut_init_wf_table:
.L14:
ret
.cfi_endproc
.LFE1557:
.LFE1558:
.size pvi_lut_init_wf_table, .-pvi_lut_init_wf_table
.align 2
.p2align 3,,7
.type get_wf_mode_index, %function
get_wf_mode_index:
.LFB1551:
.LFB1552:
.loc 1 473 0
.cfi_startproc
.LVL8:
@@ -500,14 +500,14 @@ get_wf_mode_index:
add x19, x19, 24
b .L28
.cfi_endproc
.LFE1551:
.LFE1552:
.size get_wf_mode_index, .-get_wf_mode_index
.align 2
.p2align 3,,7
.global decodewaveform
.type decodewaveform, %function
decodewaveform:
.LFB1547:
.LFB1548:
.loc 1 67 0
.cfi_startproc
.LVL29:
@@ -805,14 +805,14 @@ decodewaveform:
mov w0, -22
b .L65
.cfi_endproc
.LFE1547:
.LFE1548:
.size decodewaveform, .-decodewaveform
.align 2
.p2align 3,,7
.global decodewaveform_32
.type decodewaveform_32, %function
decodewaveform_32:
.LFB1548:
.LFB1549:
.loc 1 163 0
.cfi_startproc
.LVL47:
@@ -1059,14 +1059,14 @@ decodewaveform_32:
mov w0, -22
b .L103
.cfi_endproc
.LFE1548:
.LFE1549:
.size decodewaveform_32, .-decodewaveform_32
.align 2
.p2align 3,,7
.global decodewaveform_auto
.type decodewaveform_auto, %function
decodewaveform_auto:
.LFB1549:
.LFB1550:
.loc 1 250 0
.cfi_startproc
.LVL67:
@@ -1450,14 +1450,14 @@ decodewaveform_auto:
mov w0, -22
b .L129
.cfi_endproc
.LFE1549:
.LFE1550:
.size decodewaveform_auto, .-decodewaveform_auto
.align 2
.p2align 3,,7
.global pvi_wf_get_lut
.type pvi_wf_get_lut, %function
pvi_wf_get_lut:
.LFB1559:
.LFB1560:
.loc 1 744 0
.cfi_startproc
.LVL93:
@@ -2193,14 +2193,14 @@ pvi_wf_get_lut:
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE1559:
.LFE1560:
.size pvi_wf_get_lut, .-pvi_wf_get_lut
.align 2
.p2align 3,,7
.global pvi_wf_input
.type pvi_wf_input, %function
pvi_wf_input:
.LFB1560:
.LFB1561:
.loc 1 806 0
.cfi_startproc
.LVL160:
@@ -2295,14 +2295,14 @@ pvi_wf_input:
beq .L248
b .L245
.cfi_endproc
.LFE1560:
.LFE1561:
.size pvi_wf_input, .-pvi_wf_input
.align 2
.p2align 3,,7
.global pvi_wf_get_version
.type pvi_wf_get_version, %function
pvi_wf_get_version:
.LFB1561:
.LFB1562:
.loc 1 845 0
.cfi_startproc
.loc 1 846 0
@@ -2334,24 +2334,24 @@ pvi_wf_get_version:
.loc 1 859 0
ret
.cfi_endproc
.LFE1561:
.LFE1562:
.size pvi_wf_get_version, .-pvi_wf_get_version
.section .rodata
.align 3
.set .LANCHOR2,. + 0
.type __func__.16936, %object
.size __func__.16936, 18
__func__.16936:
.type __func__.16939, %object
.size __func__.16939, 18
__func__.16939:
.string "get_wf_frm_num_32"
.zero 6
.type __func__.16925, %object
.size __func__.16925, 15
__func__.16925:
.type __func__.16928, %object
.size __func__.16928, 15
__func__.16928:
.string "get_wf_frm_num"
.zero 1
.type __func__.16948, %object
.size __func__.16948, 20
__func__.16948:
.type __func__.16951, %object
.size __func__.16951, 20
__func__.16951:
.string "get_wf_frm_num_auto"
.data
.align 2
@@ -2360,13 +2360,13 @@ __func__.16948:
.size maxpic, 4
maxpic:
.word 16
.type sftemp.17006, %object
.size sftemp.17006, 4
sftemp.17006:
.type sftemp.17009, %object
.size sftemp.17009, 4
sftemp.17009:
.word -1
.type stype.17005, %object
.size stype.17005, 4
stype.17005:
.type stype.17008, %object
.size stype.17008, 4
stype.17008:
.word 12
.bss
.align 3
@@ -2375,18 +2375,18 @@ stype.17005:
.size waveformdata, 8
waveformdata:
.zero 8
.type pvi_modes.16876, %object
.size pvi_modes.16876, 36
pvi_modes.16876:
.type pvi_modes.16879, %object
.size pvi_modes.16879, 36
pvi_modes.16879:
.zero 36
.zero 4
.type global_waveform, %object
.size global_waveform, 8
global_waveform:
.zero 8
.type spi_id_buffer.17042, %object
.size spi_id_buffer.17042, 32
spi_id_buffer.17042:
.type spi_id_buffer.17045, %object
.size spi_id_buffer.17045, 32
spi_id_buffer.17045:
.zero 32
.section .rodata.str1.8,"aMS",@progbits,1
.align 3
@@ -14441,8 +14441,8 @@ spi_id_buffer.17042:
.byte 0x1
.2byte 0x34c
.4byte 0x55
.8byte .LFB1561
.8byte .LFE1561-.LFB1561
.8byte .LFB1562
.8byte .LFE1562-.LFB1562
.uleb128 0x1
.byte 0x9c
.4byte 0x6283
@@ -14460,7 +14460,7 @@ spi_id_buffer.17042:
.4byte 0x6283
.uleb128 0x9
.byte 0x3
.8byte spi_id_buffer.17042
.8byte spi_id_buffer.17045
.uleb128 0x48
.string "i"
.byte 0x1
@@ -14479,8 +14479,8 @@ spi_id_buffer.17042:
.byte 0x1
.2byte 0x325
.4byte 0xbb
.8byte .LFB1560
.8byte .LFE1560-.LFB1560
.8byte .LFB1561
.8byte .LFE1561-.LFB1561
.uleb128 0x1
.byte 0x9c
.4byte 0x62ec
@@ -14507,8 +14507,8 @@ spi_id_buffer.17042:
.byte 0x1
.2byte 0x2e7
.4byte 0xbb
.8byte .LFB1559
.8byte .LFE1559-.LFB1559
.8byte .LFB1560
.8byte .LFE1560-.LFB1560
.uleb128 0x1
.byte 0x9c
.4byte 0x6651
@@ -14543,7 +14543,7 @@ spi_id_buffer.17042:
.4byte 0x5fdb
.uleb128 0x9
.byte 0x3
.8byte stype.17005
.8byte stype.17008
.uleb128 0x47
.4byte .LASF1484
.byte 0x1
@@ -14551,7 +14551,7 @@ spi_id_buffer.17042:
.4byte 0xbb
.uleb128 0x9
.byte 0x3
.8byte sftemp.17006
.8byte sftemp.17009
.uleb128 0x4a
.4byte .LASF1485
.byte 0x1
@@ -14844,8 +14844,8 @@ spi_id_buffer.17042:
.4byte .LASF1522
.byte 0x1
.2byte 0x2a6
.8byte .LFB1557
.8byte .LFE1557-.LFB1557
.8byte .LFB1558
.8byte .LFE1558-.LFB1558
.uleb128 0x1
.byte 0x9c
.4byte 0x6774
@@ -15193,8 +15193,8 @@ spi_id_buffer.17042:
.byte 0x1
.2byte 0x1d8
.4byte 0xbb
.8byte .LFB1551
.8byte .LFE1551-.LFB1551
.8byte .LFB1552
.8byte .LFE1552-.LFB1552
.uleb128 0x1
.byte 0x9c
.4byte 0x6aa9
@@ -15237,7 +15237,7 @@ spi_id_buffer.17042:
.4byte 0x6acc
.uleb128 0x9
.byte 0x3
.8byte pvi_modes.16876
.8byte pvi_modes.16879
.uleb128 0x4b
.8byte .LVL26
.4byte 0x6cfd
@@ -15269,7 +15269,7 @@ spi_id_buffer.17042:
.4byte 0x6ae3
.uleb128 0x9
.byte 0x3
.8byte pvi_modes.16876
.8byte pvi_modes.16879
.byte 0
.uleb128 0x5
.4byte 0xbb
@@ -15283,8 +15283,8 @@ spi_id_buffer.17042:
.byte 0x1
.byte 0xf9
.4byte 0xbb
.8byte .LFB1549
.8byte .LFE1549-.LFB1549
.8byte .LFB1550
.8byte .LFE1550-.LFB1550
.uleb128 0x1
.byte 0x9c
.4byte 0x6bb5
@@ -15356,8 +15356,8 @@ spi_id_buffer.17042:
.byte 0x1
.byte 0xa2
.4byte 0xbb
.8byte .LFB1548
.8byte .LFE1548-.LFB1548
.8byte .LFB1549
.8byte .LFE1549-.LFB1549
.uleb128 0x1
.byte 0x9c
.4byte 0x6c5b
@@ -15418,8 +15418,8 @@ spi_id_buffer.17042:
.byte 0x1
.byte 0x42
.4byte 0xbb
.8byte .LFB1547
.8byte .LFE1547-.LFB1547
.8byte .LFB1548
.8byte .LFE1548-.LFB1548
.uleb128 0x1
.byte 0x9c
.4byte 0x6cfd
@@ -16793,7 +16793,7 @@ spi_id_buffer.17042:
.2byte 0x1
.byte 0x50
.8byte .LVL164-.Ltext0
.8byte .LFE1560-.Ltext0
.8byte .LFE1561-.Ltext0
.2byte 0x1
.byte 0x64
.8byte 0
@@ -16855,7 +16855,7 @@ spi_id_buffer.17042:
.2byte 0x1
.byte 0x66
.8byte .LVL156-.Ltext0
.8byte .LFE1559-.Ltext0
.8byte .LFE1560-.Ltext0
.2byte 0x1
.byte 0x51
.8byte 0
@@ -16882,7 +16882,7 @@ spi_id_buffer.17042:
.2byte 0x1
.byte 0x53
.8byte .LVL156-.Ltext0
.8byte .LFE1559-.Ltext0
.8byte .LFE1560-.Ltext0
.2byte 0x1
.byte 0x52
.8byte 0
@@ -16921,7 +16921,7 @@ spi_id_buffer.17042:
.2byte 0x1
.byte 0x63
.8byte .LVL156-.Ltext0
.8byte .LFE1559-.Ltext0
.8byte .LFE1560-.Ltext0
.2byte 0x1
.byte 0x53
.8byte 0
@@ -17109,7 +17109,7 @@ spi_id_buffer.17042:
.2byte 0x1
.byte 0x64
.8byte .LVL17-.Ltext0
.8byte .LFE1551-.Ltext0
.8byte .LFE1552-.Ltext0
.2byte 0x1
.byte 0x64
.8byte 0

View File

@@ -14,7 +14,7 @@
.p2align 3,,7
.type decode_wf_data, %function
decode_wf_data:
.LFB1556:
.LFB1557:
.file 1 "drivers/gpu/drm/rockchip/ebc-dev/epdlut/rkf_waveform.c"
.loc 1 242 0
.cfi_startproc
@@ -87,13 +87,13 @@ decode_wf_data:
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE1556:
.LFE1557:
.size decode_wf_data, .-decode_wf_data
.align 2
.p2align 3,,7
.type parse_wf_gray16.isra.3, %function
parse_wf_gray16.isra.3:
.LFB1569:
.LFB1570:
.loc 1 352 0
.cfi_startproc
.LVL6:
@@ -288,14 +288,14 @@ parse_wf_gray16.isra.3:
.LBE232:
.LBE235:
.cfi_endproc
.LFE1569:
.LFE1570:
.size parse_wf_gray16.isra.3, .-parse_wf_gray16.isra.3
.align 2
.p2align 3,,7
.global rkf_wf_input
.type rkf_wf_input, %function
rkf_wf_input:
.LFB1551:
.LFB1552:
.loc 1 128 0
.cfi_startproc
.LVL33:
@@ -532,14 +532,14 @@ rkf_wf_input:
.loc 1 138 0
b .L35
.cfi_endproc
.LFE1551:
.LFE1552:
.size rkf_wf_input, .-rkf_wf_input
.align 2
.p2align 3,,7
.global rkf_wf_get_version
.type rkf_wf_get_version, %function
rkf_wf_get_version:
.LFB1552:
.LFB1553:
.loc 1 161 0
.cfi_startproc
.loc 1 162 0
@@ -552,14 +552,14 @@ rkf_wf_get_version:
csel x0, x0, xzr, ne
ret
.cfi_endproc
.LFE1552:
.LFE1553:
.size rkf_wf_get_version, .-rkf_wf_get_version
.align 2
.p2align 3,,7
.global rkf_wf_get_lut
.type rkf_wf_get_lut, %function
rkf_wf_get_lut:
.LFB1565:
.LFB1566:
.loc 1 486 0
.cfi_startproc
.LVL58:
@@ -1418,25 +1418,25 @@ rkf_wf_get_lut:
lsl x0, x0, 2
b .L76
.cfi_endproc
.LFE1565:
.LFE1566:
.size rkf_wf_get_lut, .-rkf_wf_get_lut
.section .rodata
.align 3
.set .LANCHOR2,. + 0
.type __func__.16923, %object
.size __func__.16923, 15
__func__.16923:
.type __func__.16926, %object
.size __func__.16926, 15
__func__.16926:
.string "decode_wf_auto"
.data
.align 2
.set .LANCHOR1,. + 0
.type sftemp.16994, %object
.size sftemp.16994, 4
sftemp.16994:
.type sftemp.16997, %object
.size sftemp.16997, 4
sftemp.16997:
.word -1
.type stype.16993, %object
.size stype.16993, 4
stype.16993:
.type stype.16996, %object
.size stype.16996, 4
stype.16996:
.word 12
.bss
.align 3
@@ -13460,8 +13460,8 @@ crc32_table:
.byte 0x1
.2byte 0x1e5
.4byte 0xc0
.8byte .LFB1565
.8byte .LFE1565-.LFB1565
.8byte .LFB1566
.8byte .LFE1566-.LFB1566
.uleb128 0x1
.byte 0x9c
.4byte 0x69b6
@@ -13496,7 +13496,7 @@ crc32_table:
.4byte 0x5fb2
.uleb128 0x9
.byte 0x3
.8byte stype.16993
.8byte stype.16996
.uleb128 0x48
.4byte .LASF1471
.byte 0x1
@@ -13504,7 +13504,7 @@ crc32_table:
.4byte 0xc0
.uleb128 0x9
.byte 0x3
.8byte sftemp.16994
.8byte sftemp.16997
.uleb128 0x49
.string "ret"
.byte 0x1
@@ -14491,8 +14491,8 @@ crc32_table:
.byte 0x1
.byte 0xf0
.4byte 0x2d56
.8byte .LFB1556
.8byte .LFE1556-.LFB1556
.8byte .LFB1557
.8byte .LFE1557-.LFB1557
.uleb128 0x1
.byte 0x9c
.4byte 0x6dba
@@ -14665,8 +14665,8 @@ crc32_table:
.byte 0x1
.byte 0xa0
.4byte 0x55
.8byte .LFB1552
.8byte .LFE1552-.LFB1552
.8byte .LFB1553
.8byte .LFE1553-.LFB1553
.uleb128 0x1
.byte 0x9c
.uleb128 0x66
@@ -14674,8 +14674,8 @@ crc32_table:
.byte 0x1
.byte 0x7f
.4byte 0xc0
.8byte .LFB1551
.8byte .LFE1551-.LFB1551
.8byte .LFB1552
.8byte .LFE1552-.LFB1552
.uleb128 0x1
.byte 0x9c
.4byte 0x7049
@@ -15038,8 +15038,8 @@ crc32_table:
.byte 0
.uleb128 0x6a
.4byte 0x6b2c
.8byte .LFB1569
.8byte .LFE1569-.LFB1569
.8byte .LFB1570
.8byte .LFE1570-.LFB1570
.uleb128 0x1
.byte 0x9c
.4byte 0x735a
@@ -16651,7 +16651,7 @@ crc32_table:
.2byte 0x1
.byte 0x50
.8byte .LVL133-.Ltext0
.8byte .LFE1565-.Ltext0
.8byte .LFE1566-.Ltext0
.2byte 0x1
.byte 0x63
.8byte 0
@@ -16694,7 +16694,7 @@ crc32_table:
.2byte 0x1
.byte 0x64
.8byte .LVL146-.Ltext0
.8byte .LFE1565-.Ltext0
.8byte .LFE1566-.Ltext0
.2byte 0x1
.byte 0x64
.8byte 0
@@ -16872,7 +16872,7 @@ crc32_table:
.2byte 0x1
.byte 0x52
.8byte .LVL146-.Ltext0
.8byte .LFE1565-.Ltext0
.8byte .LFE1566-.Ltext0
.2byte 0x1
.byte 0x52
.8byte 0
@@ -16883,7 +16883,7 @@ crc32_table:
.2byte 0x1
.byte 0x53
.8byte .LVL146-.Ltext0
.8byte .LFE1565-.Ltext0
.8byte .LFE1566-.Ltext0
.2byte 0x1
.byte 0x53
.8byte 0
@@ -16894,7 +16894,7 @@ crc32_table:
.2byte 0x1
.byte 0x55
.8byte .LVL146-.Ltext0
.8byte .LFE1565-.Ltext0
.8byte .LFE1566-.Ltext0
.2byte 0x1
.byte 0x55
.8byte 0
@@ -17096,7 +17096,7 @@ crc32_table:
.2byte 0x1
.byte 0x65
.8byte .LVL55-.Ltext0
.8byte .LFE1551-.Ltext0
.8byte .LFE1552-.Ltext0
.2byte 0x1
.byte 0x65
.8byte 0
@@ -17167,7 +17167,7 @@ crc32_table:
.2byte 0x1
.byte 0x52
.8byte .LVL21-.Ltext0
.8byte .LFE1569-.Ltext0
.8byte .LFE1570-.Ltext0
.2byte 0x1
.byte 0x52
.8byte 0
@@ -17182,7 +17182,7 @@ crc32_table:
.2byte 0x1
.byte 0x53
.8byte .LVL21-.Ltext0
.8byte .LFE1569-.Ltext0
.8byte .LFE1570-.Ltext0
.2byte 0x1
.byte 0x53
.8byte 0
@@ -17204,7 +17204,7 @@ crc32_table:
.2byte 0x1
.byte 0x50
.8byte .LVL20-.Ltext0
.8byte .LFE1569-.Ltext0
.8byte .LFE1570-.Ltext0
.2byte 0x1
.byte 0x50
.8byte 0
@@ -17235,7 +17235,7 @@ crc32_table:
.2byte 0x1
.byte 0x56
.8byte .LVL32-.Ltext0
.8byte .LFE1569-.Ltext0
.8byte .LFE1570-.Ltext0
.2byte 0x1
.byte 0x56
.8byte 0
@@ -17266,7 +17266,7 @@ crc32_table:
.2byte 0x1
.byte 0x54
.8byte .LVL31-.Ltext0
.8byte .LFE1569-.Ltext0
.8byte .LFE1570-.Ltext0
.2byte 0x1
.byte 0x54
.8byte 0