Re: [PATCH] drm/i915/vlv: no MCHBAR on VLV

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

 



Junxiao, can you add you reviewed-by to this patch?

Thanks,
Jesse

On Mon,  3 Mar 2014 14:27:57 -0800
Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> wrote:

> So don't try to allocate and program it, we're only fooling ourselves.
> 
> Reported-by: "Chang, Junxiao" <junxiao.chang@xxxxxxxxx>
> Signed-off-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
> ---
>  drivers/gpu/drm/i915/i915_dma.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
> index 7688abc..22f839b 100644
> --- a/drivers/gpu/drm/i915/i915_dma.c
> +++ b/drivers/gpu/drm/i915/i915_dma.c
> @@ -1187,6 +1187,9 @@ intel_setup_mchbar(struct drm_device *dev)
>  	u32 temp;
>  	bool enabled;
>  
> +	if (IS_VALLEYVIEW(dev))
> +		return;
> +
>  	dev_priv->mchbar_need_disable = false;
>  
>  	if (IS_I915G(dev) || IS_I915GM(dev)) {


-- 
Jesse Barnes, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://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