Re: [PATCH] drm: mali-dp: Separate static internal data into a read-only structure.

2017-11-15 Thread Gustavo Padovan
Hi Liviu, 2017-11-01 Liviu Dudau : > The malidp_hw_device structure that the driver uses to handle the > differences between versions of the IP contains both non-changeable > data and fields that get updated at probe time. Previously we were > copying the read-only part into allocated memory, but

[PATCH] drm: mali-dp: Separate static internal data into a read-only structure.

2017-11-01 Thread Liviu Dudau
The malidp_hw_device structure that the driver uses to handle the differences between versions of the IP contains both non-changeable data and fields that get updated at probe time. Previously we were copying the read-only part into allocated memory, but that can be completely avoided by splitting