Skip to content
Snippets Groups Projects
Commit 62c0b027 authored by Rob Clark's avatar Rob Clark :speech_balloon:
Browse files

freedreno: move UBWC color offset to fd_resource_offset()


Best to keep it encapsulated in the helper which returns layer/level
offset (and actually use that helper everywhere) rather than spreading
the logic around the code.

Also add a helper to find UBWC offset, to complete the encapsulation.

Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent a871b5ff
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment