Re: [PATCH 16/18] drm/i915: Remove duplicate golden render state init from execlists

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

 



On ke, 2016-07-20 at 14:12 +0100, Chris Wilson wrote:
>  static const struct intel_renderstate_rodata *
>  render_state_get_rodata(const int gen)
>  {
> @@ -51,6 +60,7 @@ static int render_state_init(struct render_state *so,
>  	int ret;
>  
>  	so->gen = INTEL_GEN(dev_priv);
> +	so->ggtt_offset = 0;

Previousy not done, does it address a bug? It's going to get
overwritten or the render_state has failed to initialize and is
forgotten, no? If it fixes bug, I think the site fondling uninitialized
object should be fixed.

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
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