aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2019-03-28 09:46:23 -0400
committerAlex Deucher <[email protected]>2019-04-15 00:20:59 -0500
commit320932bfd9e30222f427811079323b6c86edf4da (patch)
tree7e5de3539df4017e6395fca92e13275009e91985 /scripts/bpf_helpers_doc.py
parentf6ff2a08f49d565e38300f1a9d2f13359c7efc54 (diff)
drm/amd/display: Recalculate pitch when buffers change
[Why] Pitch was only calculated based on format whenever the plane state was recreated. This could result in surface corruption due to the incorrect pitch being programmed when the surface pitch changed during commits where state->allow_modeset = false. [How] Recalculate pitch at the same time we update the buffer address and other buffer attributes. This function was previously called fill_plane_tiling_attributes but I've also renamed it to fill_plane_buffer_attributes to clarify the actual intent of the function now that it's handling most buffer related attributes. Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: David Francis <[email protected]> Acked-by: Bhawanpreet Lakha <Bhawanpreet [email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions