osd: osd ext leaked buf when viu2 displaymode is NULL. [1/1]
authorsky zhou <sky.zhou@amlogic.com>
Tue, 16 Jul 2019 10:05:16 +0000 (18:05 +0800)
committerSky Zhou <sky.zhou@amlogic.com>
Wed, 17 Jul 2019 05:03:25 +0000 (22:03 -0700)
commite4d73cadd706c821efb93ebcbf9cd714fed51663
tree2ecca35554c427d6524fffc571c08ac1d6981502
parentfed0e918799cd16666f6d2549ffb11807ac607c1
osd: osd ext leaked buf when viu2 displaymode is NULL. [1/1]

PD#TV-7713

Problem:
osd buffer leaked dma buffer when switch
display pipe.

Solution:
when viu is NULL, osd need still release correct
display file.

Verify:
verified on macroni

Change-Id: Ib2df6b022b6fd654430eedae08e351ae53701fc1
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
drivers/amlogic/media/osd/osd_hw.c