mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
drm/exynos: initialize the buf_num in vp_video_buffer
The buf_num in vp_video_buffer() should be 1 or 2, but it is not initialized, and only set to 2 in NV12M or NV12MT cases. So this patch initializes the buf_num with 1 as default. Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
parent
cbb28bb09d
commit
782953ece3
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ static void vp_video_buffer(struct mixer_context *ctx, int win)
|
|||
unsigned long flags;
|
||||
struct hdmi_win_data *win_data;
|
||||
unsigned int x_ratio, y_ratio;
|
||||
unsigned int buf_num;
|
||||
unsigned int buf_num = 1;
|
||||
dma_addr_t luma_addr[2], chroma_addr[2];
|
||||
bool tiled_mode = false;
|
||||
bool crcb_mode = false;
|
||||
|
|
Loading…
Reference in a new issue