Re: [PATCH 2/2] ARC: [axs10x] Specify reserved memory for frame buffer
From: Alexey Brodkin
Date: Thu Apr 28 2016 - 10:38:29 EST
Hi Vineet,
On Thu, 2016-04-28 at 19:26 +-0530, Vineet Gupta wrote:
+AD4- On Thursday 28 April 2016 07:16 PM, Alexey Brodkin wrote:
+AD4- +AD4-
+AD4- +AD4- +AD4-
+AD4- +AD4- +AD4- +AD4-
+AD4- +AD4- +AD4- +AD4- Note that the IOC start alignment needs to follow
+AD4- +AD4- +AD4- +AD4- max(4k, size). What will be maximum size of frame buffer - 16M always +ACE-
+AD4- +AD4- What do you mean by that?
+AD4- For HS38, we intend to bypass the frame buffer traffic from IOC port. So the frame
+AD4- buffer start needs to be inside the IOC aperture base address. That value can't be
+AD4- arbitrary - it is atleast 4K aligned value and further also needs to be aligned to
+AD4- the size of aperture. So if the size is 16M it needs to be 16M aligned etc...
The point is we want to put frame buffer memory OUTSIDE IOC aperture.
So we allocate FB memory in the very end of DDR which is far away from IOC.
And in that case IOC alignment issues are out of the question here.
-Alexey