Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a5036bf authored by Robin Schroer's avatar Robin Schroer Committed by Daniel Vetter
Browse files

drivers/gpu/drm/i915/dma: style fixes



Fixed several double space pointer notations, and added one newline

Signed-off-by: default avatarRobin Schroer <sulamiification@gmail.com>
Reviewed-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent f461d1be
Loading
Loading
Loading
Loading
+16 −14
Original line number Diff line number Diff line
@@ -367,6 +367,7 @@ static int i915_emit_cmds(struct drm_device * dev, int *buffer, int dwords)

	for (i = 0; i < dwords;) {
		int sz = validate_cmd(buffer[i]);

		if (sz == 0 || i + sz > dwords)
			return -EINVAL;
		i += sz;
@@ -1264,6 +1265,7 @@ static void i915_switcheroo_set_state(struct pci_dev *pdev, enum vga_switcheroo_
{
	struct drm_device *dev = pci_get_drvdata(pdev);
	pm_message_t pmm = { .event = PM_EVENT_SUSPEND };

	if (state == VGA_SWITCHEROO_ON) {
		pr_info("switched on\n");
		dev->switch_power_state = DRM_SWITCH_POWER_CHANGING;