public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/skl: changed the filename of csr firmware
@ 2015-05-21 12:04 Animesh Manna
  2015-05-27  0:21 ` Rodrigo Vivi
  0 siblings, 1 reply; 4+ messages in thread
From: Animesh Manna @ 2015-05-21 12:04 UTC (permalink / raw)
  To: intel-gfx

Naming convention of csr firmware will be -
<platform>_dmc_<api-version>_<minor-version>.bin

Accordingly updated the same in code.

Signed-off-by: Animesh Manna <animesh.manna@intel.com>
---
 drivers/gpu/drm/i915/intel_csr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_csr.c b/drivers/gpu/drm/i915/intel_csr.c
index fec2bc5..9bd05bf 100644
--- a/drivers/gpu/drm/i915/intel_csr.c
+++ b/drivers/gpu/drm/i915/intel_csr.c
@@ -34,7 +34,7 @@
  * low-power state and comes back to normal.
  */
 
-#define I915_CSR_SKL "i915/skl_dmc_ver4.bin"
+#define I915_CSR_SKL "i915/skl_dmc_1_4.bin"
 
 MODULE_FIRMWARE(I915_CSR_SKL);
 
-- 
2.0.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/i915/skl: changed the filename of csr firmware
  2015-05-21 12:04 [PATCH] drm/i915/skl: changed the filename of csr firmware Animesh Manna
@ 2015-05-27  0:21 ` Rodrigo Vivi
  2015-05-27 11:34   ` Daniel Vetter
  0 siblings, 1 reply; 4+ messages in thread
From: Rodrigo Vivi @ 2015-05-27  0:21 UTC (permalink / raw)
  To: Animesh Manna; +Cc: intel-gfx

On Thu, May 21, 2015 at 5:04 AM, Animesh Manna <animesh.manna@intel.com> wrote:
> Naming convention of csr firmware will be -
> <platform>_dmc_<api-version>_<minor-version>.bin
>
> Accordingly updated the same in code.
>
> Signed-off-by: Animesh Manna <animesh.manna@intel.com>
> ---
>  drivers/gpu/drm/i915/intel_csr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_csr.c b/drivers/gpu/drm/i915/intel_csr.c
> index fec2bc5..9bd05bf 100644
> --- a/drivers/gpu/drm/i915/intel_csr.c
> +++ b/drivers/gpu/drm/i915/intel_csr.c
> @@ -34,7 +34,7 @@
>   * low-power state and comes back to normal.
>   */
>
> -#define I915_CSR_SKL "i915/skl_dmc_ver4.bin"
> +#define I915_CSR_SKL "i915/skl_dmc_1_4.bin"

I believe in this case the install instructions should point to copy
instead of linking it, but not hardcode the release version.

So shouldn't it be i915/skl_dmc_ver1.bin  then?

or  i915/skl_dmc_ver1_4.bin in worst case...

>
>  MODULE_FIRMWARE(I915_CSR_SKL);
>
> --
> 2.0.2
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/i915/skl: changed the filename of csr firmware
  2015-05-27  0:21 ` Rodrigo Vivi
@ 2015-05-27 11:34   ` Daniel Vetter
  2015-06-02  8:13     ` Timo Aaltonen
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Vetter @ 2015-05-27 11:34 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-gfx

On Tue, May 26, 2015 at 05:21:56PM -0700, Rodrigo Vivi wrote:
> On Thu, May 21, 2015 at 5:04 AM, Animesh Manna <animesh.manna@intel.com> wrote:
> > Naming convention of csr firmware will be -
> > <platform>_dmc_<api-version>_<minor-version>.bin
> >
> > Accordingly updated the same in code.
> >
> > Signed-off-by: Animesh Manna <animesh.manna@intel.com>
> > ---
> >  drivers/gpu/drm/i915/intel_csr.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/i915/intel_csr.c b/drivers/gpu/drm/i915/intel_csr.c
> > index fec2bc5..9bd05bf 100644
> > --- a/drivers/gpu/drm/i915/intel_csr.c
> > +++ b/drivers/gpu/drm/i915/intel_csr.c
> > @@ -34,7 +34,7 @@
> >   * low-power state and comes back to normal.
> >   */
> >
> > -#define I915_CSR_SKL "i915/skl_dmc_ver4.bin"
> > +#define I915_CSR_SKL "i915/skl_dmc_1_4.bin"
> 
> I believe in this case the install instructions should point to copy
> instead of linking it, but not hardcode the release version.
> 
> So shouldn't it be i915/skl_dmc_ver1.bin  then?
> 
> or  i915/skl_dmc_ver1_4.bin in worst case...

While at it, can we perhaps _not_ hardcode the minor revision? Hardcoding
the minor revision torpedoes the entire concept of even having a minor
revision. If the firmware team can't do proper abi versioning, then imo we
should just put one number for each and keep it at that.
-Daniel

> 
> >
> >  MODULE_FIRMWARE(I915_CSR_SKL);
> >
> > --
> > 2.0.2
> >
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> 
> 
> 
> -- 
> Rodrigo Vivi
> Blog: http://blog.vivi.eng.br
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/i915/skl: changed the filename of csr firmware
  2015-05-27 11:34   ` Daniel Vetter
@ 2015-06-02  8:13     ` Timo Aaltonen
  0 siblings, 0 replies; 4+ messages in thread
From: Timo Aaltonen @ 2015-06-02  8:13 UTC (permalink / raw)
  To: Daniel Vetter, Rodrigo Vivi; +Cc: intel-gfx

On 27.05.2015 14:34, Daniel Vetter wrote:
> On Tue, May 26, 2015 at 05:21:56PM -0700, Rodrigo Vivi wrote:
>> On Thu, May 21, 2015 at 5:04 AM, Animesh Manna <animesh.manna@intel.com> wrote:
>>> Naming convention of csr firmware will be -
>>> <platform>_dmc_<api-version>_<minor-version>.bin
>>>
>>> Accordingly updated the same in code.
>>>
>>> Signed-off-by: Animesh Manna <animesh.manna@intel.com>
>>> ---
>>>  drivers/gpu/drm/i915/intel_csr.c | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/gpu/drm/i915/intel_csr.c b/drivers/gpu/drm/i915/intel_csr.c
>>> index fec2bc5..9bd05bf 100644
>>> --- a/drivers/gpu/drm/i915/intel_csr.c
>>> +++ b/drivers/gpu/drm/i915/intel_csr.c
>>> @@ -34,7 +34,7 @@
>>>   * low-power state and comes back to normal.
>>>   */
>>>
>>> -#define I915_CSR_SKL "i915/skl_dmc_ver4.bin"
>>> +#define I915_CSR_SKL "i915/skl_dmc_1_4.bin"
>>
>> I believe in this case the install instructions should point to copy
>> instead of linking it, but not hardcode the release version.
>>
>> So shouldn't it be i915/skl_dmc_ver1.bin  then?
>>
>> or  i915/skl_dmc_ver1_4.bin in worst case...
> 
> While at it, can we perhaps _not_ hardcode the minor revision? Hardcoding
> the minor revision torpedoes the entire concept of even having a minor
> revision. If the firmware team can't do proper abi versioning, then imo we
> should just put one number for each and keep it at that.
> -Daniel

Can we please settle on something? I'd rather have the csr fw in
linux-firmware quite soon, so that the driver wouldn't give an ugly
assert when csr doesn't work.

-- 
t
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-02  8:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 12:04 [PATCH] drm/i915/skl: changed the filename of csr firmware Animesh Manna
2015-05-27  0:21 ` Rodrigo Vivi
2015-05-27 11:34   ` Daniel Vetter
2015-06-02  8:13     ` Timo Aaltonen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox