aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2015-01-15 14:55:26 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-01-27 09:50:51 +0100
commitf5de6e0739e7f64edcea4f4bd42b862f2ffb2353 (patch)
treedea04a982646d3d6a73c74af5521ec0ecc8c7e34 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/i915: Make intel_crtc->config a pointer (diff)
downloadlinux-dev-f5de6e0739e7f64edcea4f4bd42b862f2ffb2353.tar.xz
linux-dev-f5de6e0739e7f64edcea4f4bd42b862f2ffb2353.zip
drm/i915: Improve how the memory for crtc state is allocated
The previous patch changed the config field in intel_crtc to a pointer, but to keep the mechanical changes (done with spatch) separate from the new code, the pointer was made to point to a new _config field with type struct intel_crtc_state added to that struct. This patch improves that code by getting rid of that field, allocating a state struct in intel_crtc_init() a keeping it properly updated when a mode set happens. v2: Manual changes split from previous patch. (Matt) Don't leak the current state when the crtc is destroyed (Matt) Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> [danvet: Squash in fixup from Matt Roper for driver unload.] 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