On Fri, 2016-10-14 at 16:56 -0700, Anusha Srivatsa wrote:
> Currently, for display there is only one DMC image for KBL.
> Remove the stepping_info table for KBL and use the no_stepping_info
> for loading the firmware image.
>
> Cc: Rodrigo Vivi <[email protected]>
> Signed-off-by: Anusha Srivatsa <[email protected]>
> ---
> drivers/gpu/drm/i915/intel_csr.c | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_csr.c
> b/drivers/gpu/drm/i915/intel_csr.c
> index cf57167..e0e348b 100644
> --- a/drivers/gpu/drm/i915/intel_csr.c
> +++ b/drivers/gpu/drm/i915/intel_csr.c
> @@ -168,12 +168,6 @@ struct stepping_info {
> char substepping;
> };
>
> -static const struct stepping_info kbl_stepping_info[] = {
> - {'A', '0'}, {'B', '0'}, {'C', '0'},
> - {'D', '0'}, {'E', '0'}, {'F', '0'},
> - {'G', '0'}, {'H', '0'}, {'I', '0'},
> -};
> -
> static const struct stepping_info skl_stepping_info[] = {
> {'A', '0'}, {'B', '0'}, {'C', '0'},
> {'D', '0'}, {'E', '0'}, {'F', '0'},
> @@ -197,8 +191,8 @@ intel_get_stepping_info(struct drm_i915_private *dev_priv)
> unsigned int size;
>
> if (IS_KABYLAKE(dev_priv)) {
> - size = ARRAY_SIZE(kbl_stepping_info);
> - si = kbl_stepping_info;
> + size = ARRAY_SIZE(no_stepping_info);
> + si = no_stepping_info;
I believe we could just remove this entire block so it would just return
the no_stepping_info...
> } else if (IS_SKYLAKE(dev_priv)) {
> size = ARRAY_SIZE(skl_stepping_info);
> si = skl_stepping_info;
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx