diff options
author | 2018-02-14 09:21:49 +0100 | |
---|---|---|
committer | 2018-02-14 11:41:47 -0800 | |
commit | 7928e9bb09dc7f108a1a2b589ef1c7b86843569c (patch) | |
tree | ac9d1541d7741edf634628683688521f88bbf532 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/vlv: Add cdclk workaround for DSI (diff) | |
download | linux-dev-7928e9bb09dc7f108a1a2b589ef1c7b86843569c.tar.xz linux-dev-7928e9bb09dc7f108a1a2b589ef1c7b86843569c.zip |
drm/i915: Add intel_bios_cleanup() function
Add an intel_bios_cleanup() function to act as counterpart of
intel_bios_init() and move the cleanup of vbt related resources there,
putting it in the same file as the allocation.
Changed in v2:
-While touching the code anyways, remove the unnecessary:
if (dev_priv->vbt.child_dev) done before kfree(dev_priv->vbt.child_dev)
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180214082151.25015-1-hdegoede@redhat.com
(cherry picked from commit 785f076b3ba781804f2b22b347b4431e3efb0ab3)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions