diff options
author | 2015-07-07 15:26:04 -0300 | |
---|---|---|
committer | 2015-07-08 11:39:45 +0200 | |
commit | 7733b49bb03ee10b8889f8f5edf11d755115b230 (patch) | |
tree | 893f9bbf713c8be8685895e4ab8fa39a3e1cd6de /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: move FBC vfuncs to struct i915_fbc (diff) | |
download | wireguard-linux-7733b49bb03ee10b8889f8f5edf11d755115b230.tar.xz wireguard-linux-7733b49bb03ee10b8889f8f5edf11d755115b230.zip |
drm/i915: use dev_priv for the FBC functions
Because the cool kids use dev_priv and FBC wants to be cool too.
We've been historically using struct drm_device on the FBC function
arguments, but we only really need it for intel_vgpu_active(): we can
use dev_priv everywhere else. So let's fully switch to dev_priv since
I'm getting tired of adding "struct drm_device *dev = dev_priv->dev"
everywhere.
If I get a NACK here I'll propose the opposite: convert all the
functions that currently take dev_priv to take dev.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
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