Re: [PATCH 6/7] drm/i915: Move common engine setup into intel_engine_cs.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 13, 2016 at 04:03:40PM +0100, Tvrtko Ursulin wrote:
> +	/*
> +	 * Catch failures to update intel_engines table when the new engines
> +	 * are added to the driver by a warning and disabling the forgotten
> +	 * engines.
> +	 */
> +	if (WARN_ON(mask != INTEL_INFO(dev_priv)->ring_mask)) {
> +		struct intel_device_info *info =
> +			(struct intel_device_info *)&dev_priv->info;

I snuck in mkwrite_device_info(), so

if (WARN_ON(mask != INTEL_INFO(dev_priv)->ring_mask))
	mkwrite_device_info(dev_priv)->ring_mask = mask;
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux