Re: [Intel-gfx] [v3 1/7] i915/dp/fec: Cache the FEC_CAPABLE DPCD register

2018-10-29 Thread Manasi Navare
On Thu, Oct 25, 2018 at 09:49:37PM -0700, Anusha Srivatsa wrote: > Similar to DSC DPCD registers, let us cache > FEC_CAPABLE register to avoid using stale > values. With this we can avoid aux reads > everytime and instead read the cached values. > > v2: Avoid using memset and array for a single >

[Intel-gfx] [v3 1/7] i915/dp/fec: Cache the FEC_CAPABLE DPCD register

2018-10-25 Thread Anusha Srivatsa
Similar to DSC DPCD registers, let us cache FEC_CAPABLE register to avoid using stale values. With this we can avoid aux reads everytime and instead read the cached values. v2: Avoid using memset and array for a single field. (Manasi,Jani) Suggested-by: Jani Nikula Cc: Jani Nikula Cc: Ville Syr