From: Paulo Zanoni Date: Tue, 7 Jul 2015 18:26:04 +0000 (-0300) Subject: drm/i915: use dev_priv for the FBC functions X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7733b49bb03ee10b8889f8f5edf11d755115b230;p=pandora-kernel.git 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 Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed