drm/etnaviv: reference MMU context when setting up hardware state
Move the refcount manipulation of the MMU context to the point where the hardware state is programmed. At that point it is also known if a previous MMU state is still there, or the state needs to be reprogrammed with a potentially different context. Cc: stable@vger.kernel.org # 5.4 Signed-off-by: NLucas Stach <l.stach@pengutronix.de> Tested-by: NMichael Walle <michael@walle.cc> Tested-by: NMarek Vasut <marex@denx.de> Reviewed-by: NChristian Gmeiner <christian.gmeiner@gmail.com>
Showing
想要评论请 注册 或 登录