diff options
author | Gustavo Diaz Prado <a0273371@ti.com> | 2012-09-18 16:51:07 -0500 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-03 01:18:04 +0200 |
commit | a451f6071d0c7be53f9a02499a416edb57d17a02 (patch) | |
tree | 7c35a9691dc625cc17e94f920648eaea2ac7d3fd | |
parent | 5e52729dcede0a0cc0c18d622b0bf4d897dd6fb7 (diff) | |
download | kernel_samsung_tuna-a451f6071d0c7be53f9a02499a416edb57d17a02.zip kernel_samsung_tuna-a451f6071d0c7be53f9a02499a416edb57d17a02.tar.gz kernel_samsung_tuna-a451f6071d0c7be53f9a02499a416edb57d17a02.tar.bz2 |
omaplfb: Adds missing length assignment to clear buffer
Adds missing length assignment to the buffdesc used to clear
(fill) the framebuffer. This was leading to problems in the GC
driver buffer geometry validation.
Change-Id: Ie75c48b530539f27cb977d3b7eda6fe2dd56901f
Signed-off-by: Gustavo Diaz Prado <a0273371@ti.com>
-rw-r--r-- | drivers/video/omap2/omaplfb/omaplfb_bv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/omaplfb/omaplfb_bv.c b/drivers/video/omap2/omaplfb/omaplfb_bv.c index a7d5c3a..0e3b15d 100644 --- a/drivers/video/omap2/omaplfb/omaplfb_bv.c +++ b/drivers/video/omap2/omaplfb/omaplfb_bv.c @@ -431,6 +431,7 @@ void OMAPLFBDoBlits(OMAPLFB_DEVINFO *psDevInfo, PDC_MEM_INFO *ppsMemInfos, struc entry->bp.src1geom->virtstride = OMAPLFB_CLRBUFF_SZ; entry->bp.src1.desc = &entry->src1desc; entry->bp.src1.desc->virtaddr = psPVRFBInfo->pvClearBuffer; + entry->bp.src1.desc->length = OMAPLFB_CLRBUFF_SZ; } else if (meminfo_ix & HWC_BLT_DESC_FLAG) { |