panfrost: Fix T6XX Support
authorArnaud Patard <arnaud.patard@rtp-net.org>
Tue, 23 Jul 2019 13:42:00 +0000 (06:42 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 23 Jul 2019 15:04:42 +0000 (08:04 -0700)
commit397f9ba69fcaef17de5c8f639957743890fa7805
treec2e5db57fa0df1565706087d09aec2a042aff788
parent83a1d5544a78b6f741523aa1689ab0c0941d549b
panfrost: Fix T6XX Support

While testing kmscube with mesa master, it turns out that kmscube is not
working anymore. After bisecting, commit
5a7688fdecd76c7d9cd87f6f6c93eb32870a2146 is the culprit. A short trial
and error session allowed to find the removed bit of code making kmscube
working again.

This patch adds it back.

Fixes: 5a7688fde ("panfrost: Use 64-bit descriptors globally")
v2: Add comment pointing out this is magic. [Alyssa, trivial]

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.c