diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2015-02-27 10:12:01 -0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-17 22:29:48 +0100 |
commit | 59bea8822f2d2e038a84750576a002049ad30ce1 (patch) | |
tree | 8bbbb6249722858ffee33633d072973ad7810e45 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3dd512fbda0d87d1c3fb44bf878b262baee98fb6 (diff) |
drm/i915: Use plane->state->fb in watermark code (v2)
plane->fb is a legacy pointer that not always be up-to-date (or updated
early enough). Make sure the watermark code uses plane->state->fb so
that we're always doing our calculations based on the correct
framebuffers.
This patch was generated by Coccinelle with the following semantic
patch:
@@
struct drm_plane *P;
@@
- P->fb
+ P->state->fb
v2: Rebase
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions