mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
drm/rockchip: ebc_dev: release version v8.01
improve regal mode improve fast mode to normal mode if repair not complete Change-Id: Ib498117ac0331640a23b5a258f6d470f8c25ee34 Signed-off-by: Zorro Liu <lyx@rock-chips.com>
This commit is contained in:
@@ -167,6 +167,22 @@ struct ebc_buf_s *ebc_dsp_buf_get(void)
|
||||
return buf;
|
||||
}
|
||||
|
||||
int ebc_dsp_buf_next_mode(void)
|
||||
{
|
||||
struct ebc_buf_s *buf = NULL;
|
||||
int mode = -1;
|
||||
|
||||
mutex_lock(&ebc_buf_info.dsp_buf_lock);
|
||||
if (ebc_buf_info.dsp_buf_list && (ebc_buf_info.dsp_buf_list->nb_elt > 0)) {
|
||||
buf = (struct ebc_buf_s *)buf_list_get(ebc_buf_info.dsp_buf_list, 0);
|
||||
mode = buf->buf_mode;
|
||||
buf->dropable = 1;
|
||||
}
|
||||
mutex_unlock(&ebc_buf_info.dsp_buf_lock);
|
||||
|
||||
return mode;
|
||||
}
|
||||
|
||||
struct ebc_buf_s *ebc_empty_osd_buf_get(void)
|
||||
{
|
||||
if (ebc_buf_info.osd_buf)
|
||||
|
||||
@@ -50,5 +50,6 @@ char *ebc_virt_buf_base_get(void);
|
||||
int ebc_buf_state_show(char *buf);
|
||||
int ebc_buf_uninit(void);
|
||||
int ebc_buf_init(unsigned long phy_start, char *mem_start, int men_len, int dest_buf_len, int max_buf_num);
|
||||
int ebc_dsp_buf_next_mode(void);
|
||||
#endif
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user