diff mbox

drm/i915/skl: Fix DMC load on Skylake J0 and K0

Message ID 1454023163-25469-1-git-send-email-mathew.j.martineau@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mat Martineau Jan. 28, 2016, 11:19 p.m. UTC
The driver does not load firmware for unknown steppings, so these new
steppings must be added to the list.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_csr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Rodrigo Vivi Jan. 28, 2016, 11:26 p.m. UTC | #1
First of all:

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>


I've checked with DMC folks that DMC 1.23 that we are currently using
and the following releases support J0 and K0.

With this patch we are covering all SKL steppings we know so far, but
besides being concern with new steppings appearing at any moment I'm
mostly concerned about KBL where I just saw a KBL revid=8 and we were
considering revid=0 as KBL H0. So I'm asking myself if we do have
better ways of handling this and preferably killing this table.

In case someone have a good idea please let me know.

But for now we need to move fast with this patch.

Thanks,
Rodrigo.

On Thu, 2016-01-28 at 15:19 -0800, Mat Martineau wrote:
> The driver does not load firmware for unknown steppings, so these new

> steppings must be added to the list.

> 

> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>

> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>

> ---

>  drivers/gpu/drm/i915/intel_csr.c | 3 ++-

>  1 file changed, 2 insertions(+), 1 deletion(-)

> 

> diff --git a/drivers/gpu/drm/i915/intel_csr.c 

> b/drivers/gpu/drm/i915/intel_csr.c

> index 9bb63a8..450bab7 100644

> --- a/drivers/gpu/drm/i915/intel_csr.c

> +++ b/drivers/gpu/drm/i915/intel_csr.c

> @@ -177,7 +177,8 @@ static const struct stepping_info 

> kbl_stepping_info[] = {

>  static const struct stepping_info skl_stepping_info[] = {

>  	{'A', '0'}, {'B', '0'}, {'C', '0'},

>  	{'D', '0'}, {'E', '0'}, {'F', '0'},

> -	{'G', '0'}, {'H', '0'}, {'I', '0'}

> +	{'G', '0'}, {'H', '0'}, {'I', '0'},

> +	{'J', '0'}, {'K', '0'}

>  };

>  

>  static const struct stepping_info bxt_stepping_info[] = {
Mat Martineau Feb. 1, 2016, 4:01 p.m. UTC | #2
Rodrigo and Daniel -

On Thu, 28 Jan 2016, Vivi, Rodrigo wrote:

>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>
> I've checked with DMC folks that DMC 1.23 that we are currently using
> and the following releases support J0 and K0.
>
> With this patch we are covering all SKL steppings we know so far, but
> besides being concern with new steppings appearing at any moment I'm
> mostly concerned about KBL where I just saw a KBL revid=8 and we were
> considering revid=0 as KBL H0. So I'm asking myself if we do have
> better ways of handling this and preferably killing this table.
>
> In case someone have a good idea please let me know.
>
> But for now we need to move fast with this patch.


Is this patch ready to merge?

Thanks,
Mat


> On Thu, 2016-01-28 at 15:19 -0800, Mat Martineau wrote:
>> The driver does not load firmware for unknown steppings, so these new
>> steppings must be added to the list.
>>
>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
>> ---
>>  drivers/gpu/drm/i915/intel_csr.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/i915/intel_csr.c
>> b/drivers/gpu/drm/i915/intel_csr.c
>> index 9bb63a8..450bab7 100644
>> --- a/drivers/gpu/drm/i915/intel_csr.c
>> +++ b/drivers/gpu/drm/i915/intel_csr.c
>> @@ -177,7 +177,8 @@ static const struct stepping_info
>> kbl_stepping_info[] = {
>>  static const struct stepping_info skl_stepping_info[] = {
>>  	{'A', '0'}, {'B', '0'}, {'C', '0'},
>>  	{'D', '0'}, {'E', '0'}, {'F', '0'},
>> -	{'G', '0'}, {'H', '0'}, {'I', '0'}
>> +	{'G', '0'}, {'H', '0'}, {'I', '0'},
>> +	{'J', '0'}, {'K', '0'}
>>  };
>>
>>  static const struct stepping_info bxt_stepping_info[] = {

--
Mat Martineau
Intel OTC
Rodrigo Vivi Feb. 1, 2016, 5 p.m. UTC | #3
On Mon, 2016-02-01 at 08:01 -0800, Mat Martineau wrote:
> Rodrigo and Daniel -

> 

> On Thu, 28 Jan 2016, Vivi, Rodrigo wrote:

> 

> > 

> > Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

> > 

> > I've checked with DMC folks that DMC 1.23 that we are currently 

> > using

> > and the following releases support J0 and K0.

> > 

> > With this patch we are covering all SKL steppings we know so far, 

> > but

> > besides being concern with new steppings appearing at any moment 

> > I'm

> > mostly concerned about KBL where I just saw a KBL revid=8 and we 

> > were

> > considering revid=0 as KBL H0. So I'm asking myself if we do have

> > better ways of handling this and preferably killing this table.

> > 

> > In case someone have a good idea please let me know.

> > 

> > But for now we need to move fast with this patch.

> 

> 

> Is this patch ready to merge?


I just merged to -dinq. 

Thanks,
Rodrigo.

> 

> Thanks,

> Mat

> 

> 

> > On Thu, 2016-01-28 at 15:19 -0800, Mat Martineau wrote:

> > > The driver does not load firmware for unknown steppings, so these 

> > > new

> > > steppings must be added to the list.

> > > 

> > > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>

> > > Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>

> > > ---

> > >  drivers/gpu/drm/i915/intel_csr.c | 3 ++-

> > >  1 file changed, 2 insertions(+), 1 deletion(-)

> > > 

> > > diff --git a/drivers/gpu/drm/i915/intel_csr.c

> > > b/drivers/gpu/drm/i915/intel_csr.c

> > > index 9bb63a8..450bab7 100644

> > > --- a/drivers/gpu/drm/i915/intel_csr.c

> > > +++ b/drivers/gpu/drm/i915/intel_csr.c

> > > @@ -177,7 +177,8 @@ static const struct stepping_info

> > > kbl_stepping_info[] = {

> > >  static const struct stepping_info skl_stepping_info[] = {

> > >  	{'A', '0'}, {'B', '0'}, {'C', '0'},

> > >  	{'D', '0'}, {'E', '0'}, {'F', '0'},

> > > -	{'G', '0'}, {'H', '0'}, {'I', '0'}

> > > +	{'G', '0'}, {'H', '0'}, {'I', '0'},

> > > +	{'J', '0'}, {'K', '0'}

> > >  };

> > > 

> > >  static const struct stepping_info bxt_stepping_info[] = {

> 

> --

> Mat Martineau

> Intel OTC

>
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_csr.c b/drivers/gpu/drm/i915/intel_csr.c
index 9bb63a8..450bab7 100644
--- a/drivers/gpu/drm/i915/intel_csr.c
+++ b/drivers/gpu/drm/i915/intel_csr.c
@@ -177,7 +177,8 @@  static const struct stepping_info kbl_stepping_info[] = {
 static const struct stepping_info skl_stepping_info[] = {
 	{'A', '0'}, {'B', '0'}, {'C', '0'},
 	{'D', '0'}, {'E', '0'}, {'F', '0'},
-	{'G', '0'}, {'H', '0'}, {'I', '0'}
+	{'G', '0'}, {'H', '0'}, {'I', '0'},
+	{'J', '0'}, {'K', '0'}
 };
 
 static const struct stepping_info bxt_stepping_info[] = {