From: Elaine Wang Date: Thu, 26 Apr 2012 02:06:05 +0000 (+0800) Subject: Port TopazSC firmware version 385. X-Git-Tag: 2.1b_release~848 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0fe1e4ac09adc5babb2cf3f734f8d2e2a7c8d11;p=kernel%2Fkernel-mfld-blackbay.git Port TopazSC firmware version 385. BZ: 33634 The data relocation address shouldn't be aligned with MTX_DMA_BURSTSIZE_BYTES. Just write data section to base of data section. Signed-off-by: Elaine Wang Change-Id: I5cf2aafe89a073b2f09f66f35695326a30ae2ad6 Reviewed-on: http://android.intel.com:8080/46207 Reviewed-by: Wang, Elaine Reviewed-by: Yuan, Shengquan Reviewed-by: Ding, Haitao Tested-by: Ding, Haitao Reviewed-by: buildbot Tested-by: buildbot --- diff --git a/drivers/staging/mrst/imgv/pnw_topazinit.c b/drivers/staging/mrst/imgv/pnw_topazinit.c index 780df34..12ee92b 100644 --- a/drivers/staging/mrst/imgv/pnw_topazinit.c +++ b/drivers/staging/mrst/imgv/pnw_topazinit.c @@ -1002,8 +1002,6 @@ int topaz_upload_fw(struct drm_device *dev, enum drm_pnw_topaz_codec codec, uint & ~(MTX_DMA_BURSTSIZE_BYTES - 1)) / 4; data_location = cur_codec_fw->data_location; - data_location = data_location & (~(MTX_DMA_BURSTSIZE_BYTES - 1)); - PSB_DEBUG_GENERAL("TOPAZ: data_size round up to %d\n" "data_location round up to 0x%08x\n", data_size, data_location);