diff options
| author | Matt Roper <[email protected]> | 2015-07-06 09:19:24 -0700 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2015-07-06 21:23:36 +0200 |
| commit | c07a2d1194fc694785771643c413c44adf7635d3 (patch) | |
| tree | 65f6be5dfe8f08a0ddef23a5016cd9a324ccfe0a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 1cff8cc35bd310419cd2545ddcb65b329bdc1053 (diff) | |
drm/i915: Don't dereference NULL plane while setting up scalers
intel_atomic_setup_scalers() dereferences 'plane' before the plane has
been assigned. The plane ID assignment doing this dereference is only
needed for debugging messages later in the function, so just move the
assignment farther down the function to a point where plane will no
longer be NULL.
This was introduced in:
commit 133b0d128be39e308ccd3b3d765c31ebdbf5380e
Author: Maarten Lankhorst <[email protected]>
Date: Mon Jun 15 12:33:39 2015 +0200
drm/i915: Clean up intel_atomic_setup_scalers slightly.
Cc: Maarten Lankhorst <[email protected]>
Cc: Bob Paauwe <[email protected]>
Reported-by: Bob Paauwe <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions