[PULL] drm-intel-fixes

2024-09-12 Thread Tvrtko Ursulin


Hi Dave, Sima,

It is late in the cycle and luckily the fix in this weeks PR is just
something to satisfy static analyzers, nothing that can happen in reality,
so pulling it is even optional.

Regards,

Tvrtko

drm-intel-fixes-2024-09-12:
- Prevent a possible int overflow in wq offsets [guc] (Nikita Zhandarovich)
The following changes since commit da3ea35007d0af457a0afc87e84fddaebc4e0b63:

  Linux 6.11-rc7 (2024-09-08 14:50:28 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-09-12

for you to fetch changes up to d3d37f74683e2f16f2635ee265884f7ca69350ae:

  drm/i915/guc: prevent a possible int overflow in wq offsets (2024-09-10 
08:13:51 +0100)


- Prevent a possible int overflow in wq offsets [guc] (Nikita Zhandarovich)


Nikita Zhandarovich (1):
  drm/i915/guc: prevent a possible int overflow in wq offsets

 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

2024-09-05 Thread Tvrtko Ursulin
Hi Dave, Sima,

Some fixes for the weekly cycle:

Avoid pointless attempts to reload GSC, fix for VBIOS/GOP LUT takeover on
ILK and SNB, eliminate regressions by limitting Fast Wake sync pulse
workaround to Dell Precision 5490 with AUO panels only and some clang
build fixes.

Regards,

Tvrtko

drm-intel-fixes-2024-09-05:
- drm/i915: Do not attempt to load the GSC multiple times (Daniele Ceraolo 
Spurio)
- drm/i915: Fix readout degamma_lut mismatch on ilk/snb (Ville Syrjälä)
- drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused (Andy 
Shevchenko)
- drm/i915/fence: Mark debug_fence_free() with __maybe_unused (Andy Shevchenko)
- drm/i915/display: Add mechanism to use sink model when applying quirk 
[display] (Jouni Högander)
- drm/i915/display: Increase Fast Wake Sync length as a quirk [display] (Jouni 
Högander)
The following changes since commit 431c1646e1f86b949fa3685efc50b660a364c2b6:

  Linux 6.11-rc6 (2024-09-01 19:46:02 +1200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-09-05

for you to fetch changes up to a13494de53258d8cf82ed3bcd69176bbf7f2640e:

  drm/i915/display: Increase Fast Wake Sync length as a quirk (2024-09-03 
10:22:39 +0300)


- drm/i915: Do not attempt to load the GSC multiple times (Daniele Ceraolo 
Spurio)
- drm/i915: Fix readout degamma_lut mismatch on ilk/snb (Ville Syrjälä)
- drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused (Andy 
Shevchenko)
- drm/i915/fence: Mark debug_fence_free() with __maybe_unused (Andy Shevchenko)
- drm/i915/display: Add mechanism to use sink model when applying quirk 
[display] (Jouni Högander)
- drm/i915/display: Increase Fast Wake Sync length as a quirk [display] (Jouni 
Högander)


Andy Shevchenko (2):
  drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused
  drm/i915/fence: Mark debug_fence_free() with __maybe_unused

Daniele Ceraolo Spurio (1):
  drm/i915: Do not attempt to load the GSC multiple times

Jouni Högander (2):
  drm/i915/display: Add mechanism to use sink model when applying quirk
  drm/i915/display: Increase Fast Wake Sync length as a quirk

Ville Syrjälä (1):
  drm/i915: Fix readout degamma_lut mismatch on ilk/snb

 drivers/gpu/drm/i915/display/intel_alpm.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  4 ++
 drivers/gpu/drm/i915/display/intel_dp.c|  4 ++
 drivers/gpu/drm/i915/display/intel_dp_aux.c| 16 +++--
 drivers/gpu/drm/i915/display/intel_dp_aux.h|  2 +-
 drivers/gpu/drm/i915/display/intel_modeset_setup.c | 31 --
 drivers/gpu/drm/i915/display/intel_quirks.c| 68 ++
 drivers/gpu/drm/i915/display/intel_quirks.h|  6 ++
 drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c  |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h   |  5 ++
 drivers/gpu/drm/i915/i915_sw_fence.c   |  8 +--
 11 files changed, 131 insertions(+), 17 deletions(-)


[PULL] drm-intel-fixes

2024-08-29 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-fixes towards v6.11-rc6.

Fix for USB type-C docks, backlight fix for Lenovo Yoga Tab 3 2G version
and ARL GuC firmware version correction.

Regards, Joonas

***

drm-intel-fixes-2024-08-29:

- Fix #11195: The external display connect via USB type-C dock stays blank 
after re-connect the dock
- Make DSI backlight work for 2G version of Lenovo Yoga Tab 3 X90F
. Move ARL GuC firmware to correct version
-

The following changes since commit 5be63fc19fcaa4c236b307420483578a56986a37:

  Linux 6.11-rc5 (2024-08-25 19:07:11 +1200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-08-29

for you to fetch changes up to a2ccc33b88e2953a6bf0b309e7e8849cc5320018:

  drm/i915/dp_mst: Fix MST state after a sink reset (2024-08-28 11:32:25 +0300)


- Fix #11195: The external display connect via USB type-C dock stays blank 
after re-connect the dock
- Make DSI backlight work for 2G version of Lenovo Yoga Tab 3 X90F
. Move ARL GuC firmware to correct version
-


Hans de Goede (1):
  drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict

Imre Deak (1):
  drm/i915/dp_mst: Fix MST state after a sink reset

John Harrison (1):
  drm/i915: ARL requires a newer GSC firmware

 drivers/gpu/drm/i915/display/intel_dp.c | 12 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c | 40 +
 drivers/gpu/drm/i915/display/intel_dp_mst.h |  1 +
 drivers/gpu/drm/i915/display/vlv_dsi.c  |  1 -
 drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c   | 31 ++
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c| 10 ++--
 drivers/gpu/drm/i915/i915_drv.h |  2 ++
 drivers/gpu/drm/i915/intel_device_info.c|  7 +
 drivers/gpu/drm/i915/intel_device_info.h|  3 +++
 include/drm/intel/i915_pciids.h | 11 +---
 10 files changed, 111 insertions(+), 7 deletions(-)


[PULL] drm-intel-fixes

2024-08-21 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-fixes towards v6.11-rc5.

Just one HDCP timeout fix this week.

Regards, Joonas

***

drm-intel-fixes-2024-08-22:

- Fix for HDCP timeouts

The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399:

  Linux 6.11-rc4 (2024-08-18 13:17:27 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-08-22

for you to fetch changes up to 5d41eeb6725e3e24853629e5d7635e4bc45d736e:

  drm/i915/hdcp: Use correct cp_irq_count (2024-08-19 06:40:57 +0300)


- Fix for HDCP timeouts


Suraj Kandpal (1):
  drm/i915/hdcp: Use correct cp_irq_count

 drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


Re: [PULL] drm-intel-fixes

2024-08-09 Thread Krzysztof Kozlowski
On 09/08/2024 10:35, Joonas Lahtinen wrote:
> Quoting Krzysztof Kozlowski (2024-08-08 21:44:39)
>> On 08/08/2024 20:35, Krzysztof Kozlowski wrote:
>>> On 08/08/2024 10:45, Tvrtko Ursulin wrote:

 Hi Dave, Sima,

 A small bunch of fixes for the weekly cycle:
>>>
>>> ...
>>>

 
 Andi Shyti (2):
   drm/i915/gem: Adjust vma offset for framebuffer mmap offset
   drm/i915/gem: Fix Virtual Memory mapping boundaries calculation

 David Gow (2):
   drm/i915: Allow evicting to use the requested placement
   drm/i915: Attempt to get pages without eviction first

 Dnyaneshwar Bhadane (1):
   drm/i915/display: correct dual pps handling for MTL_PCH+
>>>
>>> Several commits have issues. Look:
>>>
>>> Signed-off-by: Joonas Lahtinen 
>>> Link: https://patchwork.freedesktop.org/patch/msgid ...
>>> (cherry picked from commit 97b6784753da06d9d40232328efc5c5367e53417)
>>> Signed-off-by: Joonas Lahtinen 
>>>
>>>
>>> 1. Duplicated committer SoB.
>>> You added SoB. No need to add two. It does not get stronger. You do not
>>> change the DCO rules by adding two SoBs. You cannot confirm something
>>> more or twice. Read DCO one more time...
> 
> Hi Krzysztof,
> 
> As a self-proclaimed quite active kernel developer (by a quick web search)
> you might have already ventured to look at the GIT history of the subsytem 
> tree for the patch in question. If you did that, you might have implied that
> the second S-o-b is added by automation -- and it indeed is.
> 
> While appreciating the report, maybe not so much the the condescending
> style of the communication. You now slightly come through as a troll
> hoping to be fed - I hope that is not the case.

Indeed, sorry for that. It was quite grumpy from my side.

> 
> Seems like we've had such a double S-o-b regularly generated by DIM (Drm
> Inglorious Maintainer scripts) at least since 2016 as the first occurrance
> seems to have been in ccda3a728f70 . So rest of the ecosystem seems to
> deal with them just fine.
> 
> Is the double S-o-b issue purely cosmetic for you? Not a lawyer but I don't
> think there is any legal problem in stating the same thing twice. [1]
> 
> Or are you maybe running into some more concrete issues with upstream kernel
> process related scripts or other automation processing of the commit?

The entire confusion came because, while having latest next trees, the
cherry picked commit SHA was nowhere to be found, so I assumed you just
moved it between private/work-in-progress branches. Before drm-next hits
linux-next (and I know you have different workflows), this confusion
will be for everyone who does not have drm-next remote. And yes,
processing unknown SHAs is a problem or inconvenience... which could be
easily avoided even in your cherry-pick style - first apply to fixes and
then cherry-pick (duplicate!) to drm-next.

I understand that it is just quirk of DRM development style. While, I
still disagree that duplicating commits which have 100% same diff hunks
and context (zero difference) is good, that's just personal opinion and
people can disagree.

AFAIU, the double SoB is incidental, I guess.

> 
> Regards, Joonas
> 
> [1] When it comes to the commit rights model in DRM subsystem, stripping
> the final S-o-b after the cherry-pick would make it less obvious who did
> the pick. If there are multiple S-o-bs and the cherry-picking person

Well, if you start using b4, which does much more, you notice that
process does not make information lost.

> happened to be one of them, that information would be lost. Less
> predictable outcome for the patch form for no actual gain in my opinion.
> 
> On the other hand, removing the S-o-b line from above the "(cherry-picked.."
> line would modify the cherry-picked commit description itself and I
> would assume everyone agrees that should not be done.

Sure.

One more time apologies for grumpy response.

Best regards,
Krzysztof



Re: [PULL] drm-intel-fixes

2024-08-09 Thread Joonas Lahtinen
Quoting Krzysztof Kozlowski (2024-08-08 21:44:39)
> On 08/08/2024 20:35, Krzysztof Kozlowski wrote:
> > On 08/08/2024 10:45, Tvrtko Ursulin wrote:
> >>
> >> Hi Dave, Sima,
> >>
> >> A small bunch of fixes for the weekly cycle:
> > 
> > ...
> > 
> >>
> >> 
> >> Andi Shyti (2):
> >>   drm/i915/gem: Adjust vma offset for framebuffer mmap offset
> >>   drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
> >>
> >> David Gow (2):
> >>   drm/i915: Allow evicting to use the requested placement
> >>   drm/i915: Attempt to get pages without eviction first
> >>
> >> Dnyaneshwar Bhadane (1):
> >>   drm/i915/display: correct dual pps handling for MTL_PCH+
> > 
> > Several commits have issues. Look:
> > 
> > Signed-off-by: Joonas Lahtinen 
> > Link: https://patchwork.freedesktop.org/patch/msgid ...
> > (cherry picked from commit 97b6784753da06d9d40232328efc5c5367e53417)
> > Signed-off-by: Joonas Lahtinen 
> > 
> > 
> > 1. Duplicated committer SoB.
> > You added SoB. No need to add two. It does not get stronger. You do not
> > change the DCO rules by adding two SoBs. You cannot confirm something
> > more or twice. Read DCO one more time...

Hi Krzysztof,

As a self-proclaimed quite active kernel developer (by a quick web search)
you might have already ventured to look at the GIT history of the subsytem 
tree for the patch in question. If you did that, you might have implied that
the second S-o-b is added by automation -- and it indeed is.

While appreciating the report, maybe not so much the the condescending
style of the communication. You now slightly come through as a troll
hoping to be fed - I hope that is not the case.

Seems like we've had such a double S-o-b regularly generated by DIM (Drm
Inglorious Maintainer scripts) at least since 2016 as the first occurrance
seems to have been in ccda3a728f70 . So rest of the ecosystem seems to
deal with them just fine.

Is the double S-o-b issue purely cosmetic for you? Not a lawyer but I don't
think there is any legal problem in stating the same thing twice. [1]

Or are you maybe running into some more concrete issues with upstream kernel
process related scripts or other automation processing of the commit?

Regards, Joonas

[1] When it comes to the commit rights model in DRM subsystem, stripping
the final S-o-b after the cherry-pick would make it less obvious who did
the pick. If there are multiple S-o-bs and the cherry-picking person
happened to be one of them, that information would be lost. Less
predictable outcome for the patch form for no actual gain in my opinion.

On the other hand, removing the S-o-b line from above the "(cherry-picked.."
line would modify the cherry-picked commit description itself and I
would assume everyone agrees that should not be done.


Re: [PULL] drm-intel-fixes

2024-08-09 Thread Krzysztof Kozlowski
On 09/08/2024 09:13, Dave Airlie wrote:
> Hi Krzysztof,
> 
> You might want to familiarise yourself with the drm tree development
> procedures before weighing in,
> and snarky comments like the final one are not appreciated on this
> list or in this community.
> 
> The drm next trees are never rebased (only in super rare emergencies),
> we never rebase next onto fixes,
> 
> This leads to a number of things that are different from other workflows.
> 
> I agree the duplicate SoB isn't great, but it's also not harmful,
> 
> The cherry-pick thing is normal operating procedure unfortunately, we
> get told if we leave it out it causes problems later,
> so we add it in, and it resolves itself in the future when the next
> trees end up in Linus' tree.

So duplicating commits, instead of merging fixes into next branch, is
normal approach for drm-next? Surprising, I admit. Thanks for confirming.

Best regards,
Krzysztof



Re: [PULL] drm-intel-fixes

2024-08-09 Thread Dave Airlie
Hi Krzysztof,

You might want to familiarise yourself with the drm tree development
procedures before weighing in,
and snarky comments like the final one are not appreciated on this
list or in this community.

The drm next trees are never rebased (only in super rare emergencies),
we never rebase next onto fixes,

This leads to a number of things that are different from other workflows.

I agree the duplicate SoB isn't great, but it's also not harmful,

The cherry-pick thing is normal operating procedure unfortunately, we
get told if we leave it out it causes problems later,
so we add it in, and it resolves itself in the future when the next
trees end up in Linus' tree.

Thanks,
Dave.

> >
> > 1. Duplicated committer SoB.
> > You added SoB. No need to add two. It does not get stronger. You do not
> > change the DCO rules by adding two SoBs. You cannot confirm something
> > more or twice. Read DCO one more time...
> >
> > 2. Useless cherry pick SHA.
> > fatal: bad object 97b6784753da06d9d40232328efc5c5367e53417
> > (Tried with repo having several maintainer repos and the linux-next)
> >
> > Only you have 97b6784753da06d9d40232328efc5c5367e53417. Maybe few other
> > people as well, but all other do not. This does not bring any useful
> > information, rather obfuscates public git history.
>
> ... and in case you claim that 97b6784753da06d9d40232328efc5c5367e53417
> is in drm-next, then your workflow is broken because:
> 1. You will duplicate the same commit. One in drm-fixes and second in
> drm-next. Just use git features, like branches and merges... First you
> apply on fixes, then you merge it to next, for example. Or any other
> sane way.
>
> 2. If you rebase drm-next on top of drm-fixes in some time in the
> future, then that cherry-pick SHA will not work and will be totally useless.
>
> so either you create duplicate commits (that's how Intel gets stats?) or
> you introduce to git history totally bogus SHAs...
>
> Best regards,
> Krzysztof
>


Re: [PULL] drm-intel-fixes

2024-08-08 Thread Krzysztof Kozlowski
On 08/08/2024 20:35, Krzysztof Kozlowski wrote:
> On 08/08/2024 10:45, Tvrtko Ursulin wrote:
>>
>> Hi Dave, Sima,
>>
>> A small bunch of fixes for the weekly cycle:
> 
> ...
> 
>>
>> 
>> Andi Shyti (2):
>>   drm/i915/gem: Adjust vma offset for framebuffer mmap offset
>>   drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
>>
>> David Gow (2):
>>   drm/i915: Allow evicting to use the requested placement
>>   drm/i915: Attempt to get pages without eviction first
>>
>> Dnyaneshwar Bhadane (1):
>>   drm/i915/display: correct dual pps handling for MTL_PCH+
> 
> Several commits have issues. Look:
> 
> Signed-off-by: Joonas Lahtinen 
> Link: https://patchwork.freedesktop.org/patch/msgid ...
> (cherry picked from commit 97b6784753da06d9d40232328efc5c5367e53417)
> Signed-off-by: Joonas Lahtinen 
> 
> 
> 1. Duplicated committer SoB.
> You added SoB. No need to add two. It does not get stronger. You do not
> change the DCO rules by adding two SoBs. You cannot confirm something
> more or twice. Read DCO one more time...
> 
> 2. Useless cherry pick SHA.
> fatal: bad object 97b6784753da06d9d40232328efc5c5367e53417
> (Tried with repo having several maintainer repos and the linux-next)
> 
> Only you have 97b6784753da06d9d40232328efc5c5367e53417. Maybe few other
> people as well, but all other do not. This does not bring any useful
> information, rather obfuscates public git history.

... and in case you claim that 97b6784753da06d9d40232328efc5c5367e53417
is in drm-next, then your workflow is broken because:
1. You will duplicate the same commit. One in drm-fixes and second in
drm-next. Just use git features, like branches and merges... First you
apply on fixes, then you merge it to next, for example. Or any other
sane way.

2. If you rebase drm-next on top of drm-fixes in some time in the
future, then that cherry-pick SHA will not work and will be totally useless.

so either you create duplicate commits (that's how Intel gets stats?) or
you introduce to git history totally bogus SHAs...

Best regards,
Krzysztof



Re: [PULL] drm-intel-fixes

2024-08-08 Thread Krzysztof Kozlowski
On 08/08/2024 10:45, Tvrtko Ursulin wrote:
> 
> Hi Dave, Sima,
> 
> A small bunch of fixes for the weekly cycle:

...

> 
> 
> Andi Shyti (2):
>   drm/i915/gem: Adjust vma offset for framebuffer mmap offset
>   drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
> 
> David Gow (2):
>   drm/i915: Allow evicting to use the requested placement
>   drm/i915: Attempt to get pages without eviction first
> 
> Dnyaneshwar Bhadane (1):
>   drm/i915/display: correct dual pps handling for MTL_PCH+

Several commits have issues. Look:

Signed-off-by: Joonas Lahtinen 
Link: https://patchwork.freedesktop.org/patch/msgid ...
(cherry picked from commit 97b6784753da06d9d40232328efc5c5367e53417)
Signed-off-by: Joonas Lahtinen 


1. Duplicated committer SoB.
You added SoB. No need to add two. It does not get stronger. You do not
change the DCO rules by adding two SoBs. You cannot confirm something
more or twice. Read DCO one more time...

2. Useless cherry pick SHA.
fatal: bad object 97b6784753da06d9d40232328efc5c5367e53417
(Tried with repo having several maintainer repos and the linux-next)

Only you have 97b6784753da06d9d40232328efc5c5367e53417. Maybe few other
people as well, but all other do not. This does not bring any useful
information, rather obfuscates public git history.

Best regards,
Krzysztof



[PULL] drm-intel-fixes

2024-08-08 Thread Tvrtko Ursulin


Hi Dave, Sima,

A small bunch of fixes for the weekly cycle:

Fix for Meteorlake dual PPS, vma offset calculation and tidy when partial
mapping and unbreaking of eviction handling on DG2 small bar systems. 

Regards,

Tvrtko

drm-intel-fixes-2024-08-08:
- correct dual pps handling for MTL_PCH+ [display] (Dnyaneshwar Bhadane)
- Adjust vma offset for framebuffer mmap offset [gem] (Andi Shyti)
- Fix Virtual Memory mapping boundaries calculation [gem] (Andi Shyti)
- Allow evicting to use the requested placement (David Gow)
- Attempt to get pages without eviction first (David Gow)
The following changes since commit de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed:

  Linux 6.11-rc2 (2024-08-04 13:50:53 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-08-08

for you to fetch changes up to 787db3bb6ed5cee56fc97fecdd61517d89763f0a:

  drm/i915: Attempt to get pages without eviction first (2024-08-07 11:02:38 
+0300)


- correct dual pps handling for MTL_PCH+ [display] (Dnyaneshwar Bhadane)
- Adjust vma offset for framebuffer mmap offset [gem] (Andi Shyti)
- Fix Virtual Memory mapping boundaries calculation [gem] (Andi Shyti)
- Allow evicting to use the requested placement (David Gow)
- Attempt to get pages without eviction first (David Gow)


Andi Shyti (2):
  drm/i915/gem: Adjust vma offset for framebuffer mmap offset
  drm/i915/gem: Fix Virtual Memory mapping boundaries calculation

David Gow (2):
  drm/i915: Allow evicting to use the requested placement
  drm/i915: Attempt to get pages without eviction first

Dnyaneshwar Bhadane (1):
  drm/i915/display: correct dual pps handling for MTL_PCH+

 drivers/gpu/drm/i915/display/intel_backlight.c |  3 ++
 drivers/gpu/drm/i915/display/intel_pps.c   |  3 ++
 drivers/gpu/drm/i915/gem/i915_gem_mman.c   | 55 +++---
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c| 13 +++---
 4 files changed, 62 insertions(+), 12 deletions(-)


[PULL] drm-intel-fixes

2024-07-31 Thread Joonas Lahtinen
Hi Dave & Sima,

Just three smaller fixups. CI is again all over the place after -rc1,
but below changes shouldn't make it any worse.

Regards, Joonas

***

drm-intel-fixes-2024-08-01:

- Static analysis fix for int overflow
- Fix for HDCP2_STREAM_STATUS macro and removal of PWR_CLK_STATE for gen12

The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:

  Linux 6.11-rc1 (2024-07-28 14:19:55 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-08-01

for you to fetch changes up to 5b511572660190db1dc8ba412efd0be0d3781ab6:

  drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll() (2024-07-30 
16:57:24 +0300)


- Static analysis fix for int overflow
- Fix for HDCP2_STREAM_STATUS macro and removal of PWR_CLK_STATE for gen12


Nikita Zhandarovich (1):
  drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll()

Suraj Kandpal (1):
  drm/i915/hdcp: Fix HDCP2_STREAM_STATUS macro

Umesh Nerlige Ramappa (1):
  i915/perf: Remove code to update PWR_CLK_STATE for gen12

 drivers/gpu/drm/i915/display/intel_dpll_mgr.c  |  6 ++---
 drivers/gpu/drm/i915/display/intel_hdcp_regs.h |  2 +-
 drivers/gpu/drm/i915/i915_perf.c   | 33 --
 3 files changed, 4 insertions(+), 37 deletions(-)


Re: [PULL] drm-intel-fixes

2024-07-04 Thread Daniel Vetter
On Tue, Jul 02, 2024 at 11:28:39AM +0300, Jani Nikula wrote:
> 
> Hi Dave & Sima -
> 
> One early fix this week.
> 
> drm-intel-fixes-2024-07-02:
> drm/i915 fixes for v6.10-rc7:
> - Skip unnecessary MG programming, avoiding warnings (Imre)
> 
> BR,
> Jani.
> 
> The following changes since commit 22a40d14b572deb80c0648557f4bd502d7e83826:
> 
>   Linux 6.10-rc6 (2024-06-30 14:40:44 -0700)
> 
> are available in the Git repository at:
> 
>   https://gitlab.freedesktop.org/drm/i915/kernel.git 
> tags/drm-intel-fixes-2024-07-02
> 
> for you to fetch changes up to f72383371e8c5d1d108532d7e395ff2c277233e5:
> 
>   drm/i915/display: For MTL+ platforms skip mg dp programming (2024-07-01 
> 10:36:12 +0300)

Pulled, thanks.
-Sima

> 
> 
> drm/i915 fixes for v6.10-rc7:
> - Skip unnecessary MG programming, avoiding warnings (Imre)
> 
> 
> Imre Deak (1):
>   drm/i915/display: For MTL+ platforms skip mg dp programming
> 
>  drivers/gpu/drm/i915/display/intel_ddi.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> -- 
> Jani Nikula, Intel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-fixes

2024-07-02 Thread Jani Nikula


Hi Dave & Sima -

One early fix this week.

drm-intel-fixes-2024-07-02:
drm/i915 fixes for v6.10-rc7:
- Skip unnecessary MG programming, avoiding warnings (Imre)

BR,
Jani.

The following changes since commit 22a40d14b572deb80c0648557f4bd502d7e83826:

  Linux 6.10-rc6 (2024-06-30 14:40:44 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-07-02

for you to fetch changes up to f72383371e8c5d1d108532d7e395ff2c277233e5:

  drm/i915/display: For MTL+ platforms skip mg dp programming (2024-07-01 
10:36:12 +0300)


drm/i915 fixes for v6.10-rc7:
- Skip unnecessary MG programming, avoiding warnings (Imre)


Imre Deak (1):
  drm/i915/display: For MTL+ platforms skip mg dp programming

 drivers/gpu/drm/i915/display/intel_ddi.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2024-06-27 Thread Jani Nikula


Hi Dave & Sima -

drm-intel-fixes-2024-06-27:
drm/i915 fixes for v6.10-rc6:
- Fix potential UAF due to race on fence register revocation

BR,
Jani.

The following changes since commit f2661062f16b2de5d7b6a5c42a9a5c96326b8454:

  Linux 6.10-rc5 (2024-06-23 17:08:54 -0400)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-06-27

for you to fetch changes up to 996c3412a06578e9d779a16b9e79ace18125ab50:

  drm/i915/gt: Fix potential UAF by revoke of fence registers (2024-06-24 
13:05:15 +0300)


drm/i915 fixes for v6.10-rc6:
- Fix potential UAF due to race on fence register revocation


Janusz Krzysztofik (1):
  drm/i915/gt: Fix potential UAF by revoke of fence registers

 drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c | 1 +
 1 file changed, 1 insertion(+)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2024-06-19 Thread Jani Nikula


Hi Dave & Sima -

Surprisingly few fixes lately, here's one for joiner+MSO.

drm-intel-fixes-2024-06-19:
drm/i915 fixes for v6.10-rc5:
- Fix conditions for joiner usage, it's not possible with eDP MSO

BR,
Jani.

The following changes since commit 6ba59ff4227927d3a8530fc2973b80e94b54d58f:

  Linux 6.10-rc4 (2024-06-16 13:40:16 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-06-19

for you to fetch changes up to 49cc17967be95d64606d5684416ee51eec35e84a:

  drm/i915/mso: using joiner is not possible with eDP MSO (2024-06-17 12:01:01 
+0300)


drm/i915 fixes for v6.10-rc5:
- Fix conditions for joiner usage, it's not possible with eDP MSO


Jani Nikula (1):
  drm/i915/mso: using joiner is not possible with eDP MSO

 drivers/gpu/drm/i915/display/intel_dp.c | 4 
 1 file changed, 4 insertions(+)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2024-05-30 Thread Jani Nikula


Hi Dave & Sima -

drm-intel-fixes-2024-05-30:
drm/i915 fixes for v6.10-rc2:
- Fix a race in audio component by registering it later
- Make DPT object unshrinkable to avoid shrinking when framebuffer has
  not shrunk
- Fix CCS id calculation to fix a perf regression
- Fix selftest caching mode
- Fix FIELD_PREP compiler warnings
- Fix indefinite wait for GT wakeref release
- Revert overeager multi-gt pm reference removal

BR,
Jani.

The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

  Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/i915/kernel.git 
tags/drm-intel-fixes-2024-05-30

for you to fetch changes up to 75800e2e4203ea83bbc9d4f63ad97ea582244a08:

  drm/i915: Fix audio component initialization (2024-05-29 11:35:48 +0300)


drm/i915 fixes for v6.10-rc2:
- Fix a race in audio component by registering it later
- Make DPT object unshrinkable to avoid shrinking when framebuffer has
  not shrunk
- Fix CCS id calculation to fix a perf regression
- Fix selftest caching mode
- Fix FIELD_PREP compiler warnings
- Fix indefinite wait for GT wakeref release
- Revert overeager multi-gt pm reference removal


Andi Shyti (1):
  drm/i915/gt: Fix CCS id's calculation for CCS mode setting

Arnd Bergmann (1):
  drm/i915/guc: avoid FIELD_PREP warning

Chris Wilson (1):
  drm/i915/gt: Disarm breadcrumbs if engines are already idle

Imre Deak (1):
  drm/i915: Fix audio component initialization

Janusz Krzysztofik (1):
  Revert "drm/i915: Remove extra multi-gt pm-references"

Nirmoy Das (1):
  drm/i915/selftests: Set always_coherent to false when reading from CPU

Vidya Srinivas (1):
  drm/i915/dpt: Make DPT object unshrinkable

 drivers/gpu/drm/i915/display/intel_audio.c | 32 ++
 drivers/gpu/drm/i915/display/intel_audio.h |  1 +
 .../gpu/drm/i915/display/intel_display_driver.c|  2 ++
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 18 
 drivers/gpu/drm/i915/gem/i915_gem_object.h |  4 ++-
 .../gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c   |  2 +-
 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c| 15 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  |  6 
 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c|  2 +-
 drivers/gpu/drm/i915/gt/intel_gt_types.h   |  8 ++
 drivers/gpu/drm/i915/gt/uc/abi/guc_klvs_abi.h  |  6 ++--
 11 files changed, 71 insertions(+), 25 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2024-05-08 Thread Rodrigo Vivi
Hi Dave and Sima,

Here goes our last fixes for v6.9.

drm-intel-fixes-2024-05-08:
- Automate CCS Mode setting during engine resets (Andi)
- Fix audio time stamp programming for DP (Chaitanya)
- Fix parsing backlight BDB data (Karthikeyan)
The following changes since commit dd5a440a31fae6e459c0d627162825505361:

  Linux 6.9-rc7 (2024-05-05 14:06:01 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-05-08

for you to fetch changes up to 43b26bdd2ee5cfca80939be910d5b23a50cd7f9d:

  drm/i915/bios: Fix parsing backlight BDB data (2024-05-07 09:42:27 -0400)


- Automate CCS Mode setting during engine resets (Andi)
- Fix audio time stamp programming for DP (Chaitanya)
- Fix parsing backlight BDB data (Karthikeyan)


Andi Shyti (1):
  drm/i915/gt: Automate CCS Mode setting during engine resets

Chaitanya Kumar Borah (1):
  drm/i915/audio: Fix audio time stamp programming for DP

Karthikeyan Ramasubramanian (1):
  drm/i915/bios: Fix parsing backlight BDB data

 drivers/gpu/drm/i915/display/intel_audio.c| 113 ++
 drivers/gpu/drm/i915/display/intel_bios.c |  19 +
 drivers/gpu/drm/i915/display/intel_vbt_defs.h |   5 --
 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c   |   6 +-
 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.h   |   2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c   |   4 +-
 6 files changed, 19 insertions(+), 130 deletions(-)


[PULL] drm-intel-fixes

2024-04-10 Thread Rodrigo Vivi
Hi Dave and Sima,

Here goes drm-intel-fixes-2024-04-10:

Display fixes:
- Couple CDCLK programming fixes (Ville)
- HDCP related fix (Suraj)
- 4 Bigjoiner related fixes (Ville)

Core fix:
- Fix for a circular locking around GuC on reset+wedged case (John)

Thanks,
Rodrigo.

The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:

  Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-04-10

for you to fetch changes up to dcd8992e47f13afb5c11a61e8d9c141c35e23751:

  drm/i915/vrr: Disable VRR when using bigjoiner (2024-04-08 13:10:10 -0400)


Display fixes:
- Couple CDCLK programming fixes (Ville)
- HDCP related fix (Suraj)
- 4 Bigjoiner related fixes (Ville)

Core fix:
- Fix for a circular locking around GuC on reset+wedged case (John)


John Harrison (1):
  drm/i915/guc: Fix the fix for reset lock confusion

Suraj Kandpal (1):
  drm/i915/hdcp: Fix get remote hdcp capability function

Ville Syrjälä (6):
  drm/i915/cdclk: Fix CDCLK programming order when pipes are active
  drm/i915/cdclk: Fix voltage_level programming edge case
  drm/i915/psr: Disable PSR when bigjoiner is used
  drm/i915: Disable port sync when bigjoiner is used
  drm/i915: Disable live M/N updates when using bigjoiner
  drm/i915/vrr: Disable VRR when using bigjoiner

 drivers/gpu/drm/i915/display/intel_cdclk.c| 42 +--
 drivers/gpu/drm/i915/display/intel_cdclk.h|  3 ++
 drivers/gpu/drm/i915/display/intel_ddi.c  |  5 +++
 drivers/gpu/drm/i915/display/intel_dp.c   |  6 +++-
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c  |  5 ++-
 drivers/gpu/drm/i915/display/intel_psr.c  | 11 ++
 drivers/gpu/drm/i915/display/intel_vrr.c  |  7 
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 23 +
 drivers/gpu/drm/i915/gt/uc/intel_uc.c |  4 +++
 9 files changed, 79 insertions(+), 27 deletions(-)


[PULL] drm-intel-fixes

2024-04-04 Thread Rodrigo Vivi
Hi Dave and Sima,

Here goes drm-intel-fixes-2024-04-04:

Display fixes:
- A few DisplayPort related fixes (Imre, Arun, Ankit, Ville)
- eDP PSR fixes (Jouni)

Core/GT fixes:
- Remove some VM space restrictions on older platforms (Andi)
- Disable automatic load CCS load balancing (Andi)

Thanks,
Rodrigo.

The following changes since commit 39cd87c4eb2b893354f3b850f916353f2658ae6f:

  Linux 6.9-rc2 (2024-03-31 14:32:39 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-04-04

for you to fetch changes up to 99f855082f228cdcecd6ab768d3b8b505e0eb028:

  drm/i915/mst: Reject FEC+MST on ICL (2024-04-03 14:26:11 -0400)


Display fixes:
- A few DisplayPort related fixes (Imre, Arun, Ankit, Ville)
- eDP PSR fixes (Jouni)

Core/GT fixes:
- Remove some VM space restrictions on older platforms (Andi)
- Disable automatic load CCS load balancing (Andi)


Andi Shyti (4):
  drm/i915/gt: Limit the reserved VM space to only the platforms that need 
it
  drm/i915/gt: Disable HW load balancing for CCS
  drm/i915/gt: Do not generate the command streamer for all the CCS
  drm/i915/gt: Enable only one CCS for compute workload

Ankit Nautiyal (1):
  drm/i915/dp: Fix the computation for compressed_bpp for DISPLAY < 13

Arun R Murthy (1):
  drm/i915/dp: Remove support for UHBR13.5

Imre Deak (1):
  drm/i915/dp: Fix DSC state HW readout for SST connectors

Jouni Högander (3):
  drm/i915/psr: Calculate PIPE_SRCSZ_ERLY_TPT value
  drm/i915/psr: Move writing early transport pipe src
  drm/i915/psr: Fix intel_psr2_sel_fetch_et_alignment usage

Ville Syrjälä (2):
  drm/i915/mst: Limit MST+DSC to TGL+
  drm/i915/mst: Reject FEC+MST on ICL

 drivers/gpu/drm/i915/Makefile  |  1 +
 drivers/gpu/drm/i915/display/intel_display.c   |  9 ---
 .../gpu/drm/i915/display/intel_display_device.h|  1 +
 drivers/gpu/drm/i915/display/intel_display_types.h |  2 +
 drivers/gpu/drm/i915/display/intel_dp.c| 11 +--
 drivers/gpu/drm/i915/display/intel_dp_mst.c|  2 +-
 drivers/gpu/drm/i915/display/intel_psr.c   | 78 --
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c   |  3 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  | 17 +
 drivers/gpu/drm/i915/gt/intel_gt.c |  6 ++
 drivers/gpu/drm/i915/gt/intel_gt.h |  9 +--
 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c| 39 +++
 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.h| 13 
 drivers/gpu/drm/i915/gt/intel_gt_regs.h|  6 ++
 drivers/gpu/drm/i915/gt/intel_workarounds.c| 30 -
 15 files changed, 185 insertions(+), 42 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.h


Re: [PULL] drm-intel-fixes

2024-03-29 Thread Rodrigo Vivi
On Fri, Mar 29, 2024 at 06:23:54AM -0400, Musial, Ewelina wrote:
> Hi Rodrigo,
> 
> When I opened dashboard early morning all results were available, so I don't 
> think there was any issue during night.
> It could be long reporting queue - reporting through AWS takes ages but this 
> is not an issue with reporting, this is how AWS works.

I'm sorry for the noise. It was probably just a matter of time.

Everything looking good there.

Thanks,
Rodrigo.

> 
> Regards,
> Ewelina
> 
> -Original Message-
> From: Intel-gfx  On Behalf Of 
> Rodrigo Vivi
> Sent: Friday, March 29, 2024 2:32 AM
> To: Dave Airlie ; Daniel Vetter 
> Cc: Jani Nikula ; Joonas Lahtinen 
> ; Tvrtko Ursulin ; 
> Vivi, Rodrigo ; Thomas Zimmermann 
> ; Maarten Lankhorst ; 
> Maxime Ripard ; Thomas Hellström 
> ; Oded Gabbay ; De 
> Marchi, Lucas ; dri-devel@lists.freedesktop.org; 
> intel-...@lists.freedesktop.org; intel...@lists.freedesktop.org; 
> dim-to...@lists.freedesktop.org
> Subject: [PULL] drm-intel-fixes
> 
> Hi Dave and Sima,
> 
> Here goes our first PR of this round.
> 
> Our CI is not working as I would expect:
> https://intel-gfx-ci.01.org/tree/drm-intel-fixes/index.html?
> 
> Well, at least it caught some build failures on runds 832 and 833.
> But after I fixed those, the 834 (with v6.9-rc1) and the 835 (with all these 
> patches here) didn't show up yet. So I have run manual validation on my 
> DG2+ADL here.
> 
> Everything looking good here, and it is yet -rc1. I'm confident that we can 
> move ahead with those while we work to get CI back.
> 
> Thanks,
> Rodrigo
> 
> drm-intel-fixes-2024-03-28:
> 
> Core/GT Fixes:
> - Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
> - Update a MTL workaround (Tejas)
> - Fix locking inversion in hwmon's sysfs (Janusz)
> - Remove a bogus error message around PXP (Jose)
> - Fix UAF on VMA (Janusz)
> - Reset queue_priority_hint on parking (Chris)
> 
> Display Fixes:
> - Remove duplicated audio enable/disable on SDVO and DP (Ville)
> - Disable AuxCCS for Xe driver (Juha-Pekka)
> - Revert init order of MIPI DSI (Ville)
> - DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
> - VRR related fixes (Ville)
> - Fix a JSL eDP corruption (Jonathon)
> - Fix the cursor physical dma address (Ville)
> - BIOS VBT related fix (Ville)
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit 4cece764965020c22cff7665b18a012006359095:
> 
>   Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)
> 
> are available in the Git repository at:
> 
>   https://anongit.freedesktop.org/git/drm/drm-intel 
> tags/drm-intel-fixes-2024-03-28
> 
> for you to fetch changes up to 32e39bab59934bfd3f37097d4dd85ac5eb0fd549:
> 
>   drm/i915/bios: Tolerate devdata==NULL in 
> intel_bios_encoder_supports_dp_dual_mode() (2024-03-28 12:16:17 -0400)
> 
> 
> Core/GT Fixes:
> - Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
> - Update a MTL workaround (Tejas)
> - Fix locking inversion in hwmon's sysfs (Janusz)
> - Remove a bogus error message around PXP (Jose)
> - Fix UAF on VMA (Janusz)
> - Reset queue_priority_hint on parking (Chris)
> 
> Display Fixes:
> - Remove duplicated audio enable/disable on SDVO and DP (Ville)
> - Disable AuxCCS for Xe driver (Juha-Pekka)
> - Revert init order of MIPI DSI (Ville)
> - DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
> - VRR related fixes (Ville)
> - Fix a JSL eDP corruption (Jonathon)
> - Fix the cursor physical dma address (Ville)
> - BIOS VBT related fix (Ville)
> 
> 
> Bhanuprakash Modem (2):
>   drm/i915/drrs: Refactor CPU transcoder DRRS check
>   drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status
> 
> Chris Wilson (1):
>   drm/i915/gt: Reset queue_priority_hint on parking
> 
> Janusz Krzysztofik (2):
>   drm/i915/hwmon: Fix locking inversion in sysfs getter
>   drm/i915/vma: Fix UAF on destroy against retire race
> 
> Jonathon Hall (1):
>   drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()
> 
> Joonas Lahtinen (1):
>   drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c
> 
> José Roberto de Souza (1):
>   drm/i915: Do not print 'pxp init failed with 0' when it succeed
> 
> Juha-Pekka Heikkila (1):
>   drm/i915/display: Disable AuxCCS framebuffers if built for Xe
> 
> Tejas Upadhyay (1):
>   drm/i915/mtl: Update workaround 14018575942
> 
> Ville Syrjälä (6):
>   drm/i915: Stop doing double audio enable/disable on SDVO

RE: [PULL] drm-intel-fixes

2024-03-29 Thread Musial, Ewelina
Hi Rodrigo,

When I opened dashboard early morning all results were available, so I don't 
think there was any issue during night.
It could be long reporting queue - reporting through AWS takes ages but this is 
not an issue with reporting, this is how AWS works.

Regards,
Ewelina

-Original Message-
From: Intel-gfx  On Behalf Of Rodrigo 
Vivi
Sent: Friday, March 29, 2024 2:32 AM
To: Dave Airlie ; Daniel Vetter 
Cc: Jani Nikula ; Joonas Lahtinen 
; Tvrtko Ursulin ; Vivi, 
Rodrigo ; Thomas Zimmermann ; 
Maarten Lankhorst ; Maxime Ripard 
; Thomas Hellström ; Oded 
Gabbay ; De Marchi, Lucas ; 
dri-devel@lists.freedesktop.org; intel-...@lists.freedesktop.org; 
intel...@lists.freedesktop.org; dim-to...@lists.freedesktop.org
Subject: [PULL] drm-intel-fixes

Hi Dave and Sima,

Here goes our first PR of this round.

Our CI is not working as I would expect:
https://intel-gfx-ci.01.org/tree/drm-intel-fixes/index.html?

Well, at least it caught some build failures on runds 832 and 833.
But after I fixed those, the 834 (with v6.9-rc1) and the 835 (with all these 
patches here) didn't show up yet. So I have run manual validation on my DG2+ADL 
here.

Everything looking good here, and it is yet -rc1. I'm confident that we can 
move ahead with those while we work to get CI back.

Thanks,
Rodrigo

drm-intel-fixes-2024-03-28:

Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)

Thanks,
Rodrigo.

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-03-28

for you to fetch changes up to 32e39bab59934bfd3f37097d4dd85ac5eb0fd549:

  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode() (2024-03-28 12:16:17 -0400)


Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)


Bhanuprakash Modem (2):
  drm/i915/drrs: Refactor CPU transcoder DRRS check
  drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status

Chris Wilson (1):
  drm/i915/gt: Reset queue_priority_hint on parking

Janusz Krzysztofik (2):
  drm/i915/hwmon: Fix locking inversion in sysfs getter
  drm/i915/vma: Fix UAF on destroy against retire race

Jonathon Hall (1):
  drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()

Joonas Lahtinen (1):
  drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c

José Roberto de Souza (1):
  drm/i915: Do not print 'pxp init failed with 0' when it succeed

Juha-Pekka Heikkila (1):
  drm/i915/display: Disable AuxCCS framebuffers if built for Xe

Tejas Upadhyay (1):
  drm/i915/mtl: Update workaround 14018575942

Ville Syrjälä (6):
  drm/i915: Stop doing double audio enable/disable on SDVO and g4x+ DP
  drm/i915/dsi: Go back to the previous INIT_OTP/DISPLAY_ON order, mostly
  drm/i915/vrr: Generate VRR "safe window" for DSB
  drm/i915/dsb: Fix DSB vblank waits when using VRR
  drm/i915: Pre-populate the cursor physical dma address
  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode()

 drivers/gpu/drm/i915/display/g4x_dp.c  |  2 -
 drivers/gpu/drm/i915/display/icl_dsi.c |  3 +-
 drivers/gpu/drm/i915/display/intel_bios.c  | 46 +---
 drivers/gpu/drm/i915/display/intel_cursor.c|  4 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  1 +
 drivers/gpu/drm/i915/display/intel_dp.c| 12 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c  |  2 +-
 drivers/gpu/drm/i915/display/i

[PULL] drm-intel-fixes

2024-03-28 Thread Rodrigo Vivi
Hi Dave and Sima,

Here goes our first PR of this round.

Our CI is not working as I would expect:
https://intel-gfx-ci.01.org/tree/drm-intel-fixes/index.html?

Well, at least it caught some build failures on runds 832 and 833.
But after I fixed those, the 834 (with v6.9-rc1) and the 835 (with
all these patches here) didn't show up yet. So I have run manual validation
on my DG2+ADL here.

Everything looking good here, and it is yet -rc1. I'm confident
that we can move ahead with those while we work to get CI back.

Thanks,
Rodrigo

drm-intel-fixes-2024-03-28:

Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)

Thanks,
Rodrigo.

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-03-28

for you to fetch changes up to 32e39bab59934bfd3f37097d4dd85ac5eb0fd549:

  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode() (2024-03-28 12:16:17 -0400)


Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)


Bhanuprakash Modem (2):
  drm/i915/drrs: Refactor CPU transcoder DRRS check
  drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status

Chris Wilson (1):
  drm/i915/gt: Reset queue_priority_hint on parking

Janusz Krzysztofik (2):
  drm/i915/hwmon: Fix locking inversion in sysfs getter
  drm/i915/vma: Fix UAF on destroy against retire race

Jonathon Hall (1):
  drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()

Joonas Lahtinen (1):
  drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c

José Roberto de Souza (1):
  drm/i915: Do not print 'pxp init failed with 0' when it succeed

Juha-Pekka Heikkila (1):
  drm/i915/display: Disable AuxCCS framebuffers if built for Xe

Tejas Upadhyay (1):
  drm/i915/mtl: Update workaround 14018575942

Ville Syrjälä (6):
  drm/i915: Stop doing double audio enable/disable on SDVO and g4x+ DP
  drm/i915/dsi: Go back to the previous INIT_OTP/DISPLAY_ON order, mostly
  drm/i915/vrr: Generate VRR "safe window" for DSB
  drm/i915/dsb: Fix DSB vblank waits when using VRR
  drm/i915: Pre-populate the cursor physical dma address
  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode()

 drivers/gpu/drm/i915/display/g4x_dp.c  |  2 -
 drivers/gpu/drm/i915/display/icl_dsi.c |  3 +-
 drivers/gpu/drm/i915/display/intel_bios.c  | 46 +---
 drivers/gpu/drm/i915/display/intel_cursor.c|  4 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  1 +
 drivers/gpu/drm/i915/display/intel_dp.c| 12 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_drrs.c  | 14 --
 drivers/gpu/drm/i915/display/intel_drrs.h  |  3 ++
 drivers/gpu/drm/i915/display/intel_dsb.c   | 14 ++
 drivers/gpu/drm/i915/display/intel_fb_pin.c| 10 +
 drivers/gpu/drm/i915/display/intel_sdvo.c  |  4 --
 drivers/gpu/drm/i915/display/intel_vrr.c   |  7 +--
 drivers/gpu/drm/i915/display/skl_universal_plane.c |  3 ++
 drivers/gpu/drm/i915/gt/intel_engine_pm.c  |  3 --
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  3 ++
 drivers/gpu/drm/i915/gt/intel_workarounds.c|  1 +
 drivers/gpu/drm/i915/i915_driver.c |  2 +-
 drivers/gpu/drm/i915/i915_hwmon.c  | 37 
 drivers/gpu/drm/i915/i915_memcpy.c |  2 +
 drivers/gpu/drm/i915/i915_reg.h 

[PULL] drm-intel-fixes

2024-03-07 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes the final drm-intel-fixes for v6.8.

This PR will appear to contain more patches than it does. It's 4 patches on top 
of
drm-fixes after Sima pulled the previous PR as you can observe from git log.

Fixes for kernel crash on UHD 730, boot delay regression on PSR, DP DSC
WARN splat and smaller fix for selftest.

Regards, Joonas

***

drm-intel-fixes-2024-03-07:
- Fix for #10184: Kernel crash on UHD Graphics 730 (Cc stable)
. Fix for #10284: Boot delay regresion with PSR
- Fix DP connector DSC HW state readout
- Selftest fix to convert msecs to jiffies

The following changes since commit 90d35da658da8cff0d4ecbb5113f5fac9d00eb72:

  Linux 6.8-rc7 (2024-03-03 13:02:52 -0800)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-03-07

for you to fetch changes up to 984318aaf7b6516d03a2971a4a37bab4ea648461:

  drm/i915/panelreplay: Move out psr_init_dpcd() from init_connector() 
(2024-03-06 15:41:16 +0200)


- Fix for #10184: Kernel crash on UHD Graphics 730 (Cc stable)
. Fix for #10284: Boot delay regresion with PSR
- Fix DP connector DSC HW state readout
- Selftest fix to convert msecs to jiffies


Animesh Manna (1):
  drm/i915/panelreplay: Move out psr_init_dpcd() from init_connector()

Daniel Vetter (1):
  Merge tag 'drm-intel-fixes-2024-03-01' of 
https://anongit.freedesktop.org/git/drm/drm-intel into drm-fixes

Imre Deak (1):
  drm/i915/dp: Fix connector DSC HW state readout

Janusz Krzysztofik (1):
  drm/i915/selftests: Fix dependency of some timeouts on HZ

Nirmoy Das (1):
  drm/i915: Check before removing mm notifier

Suraj Kandpal (3):
  drm/i915/hdcp: Move to direct reads for HDCP
  drm/i915/hdcp: Remove additional timing for reading mst hdcp message
  drm/i915/hdcp: Extract hdcp structure from correct connector

Tvrtko Ursulin (1):
  MAINTAINERS: Update email address for Tvrtko Ursulin

Ville Syrjälä (1):
  drm/i915: Don't explode when the dig port we don't have an AUX CH

 .mailmap   |  5 +++
 MAINTAINERS|  2 +-
 .../drm/i915/display/intel_display_power_well.c| 17 ++--
 drivers/gpu/drm/i915/display/intel_display_types.h |  7 
 drivers/gpu/drm/i915/display/intel_dp.c| 16 
 drivers/gpu/drm/i915/display/intel_dp.h|  2 +
 drivers/gpu/drm/i915/display/intel_dp_hdcp.c   | 47 --
 drivers/gpu/drm/i915/display/intel_dp_mst.c|  1 +
 drivers/gpu/drm/i915/display/intel_modeset_setup.c | 13 +++---
 drivers/gpu/drm/i915/display/intel_psr.c   |  3 --
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c|  3 ++
 .../drm/i915/selftests/intel_scheduler_helpers.c   |  6 ++-
 12 files changed, 75 insertions(+), 47 deletions(-)


[PULL] drm-intel-fixes

2024-03-01 Thread Joonas Lahtinen
Hi Dave & Sima,

Here's the drm-intel-fixes towards v6.8(-rc7).

One NULL check for mmu notifier and HDCP fix to read from primary
connector.

Regards, Joonas

***

drm-intel-fixes-2024-03-01:

- Fix to extract HDCP information from primary connector
- Check for NULL mmu_interval_notifier before removing

The following changes since commit d206a76d7d2726f3b096037f2079ce0bd3ba329b:

  Linux 6.8-rc6 (2024-02-25 15:46:06 -0800)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-03-01

for you to fetch changes up to 01bb1ae35006e473138c90711bad1a6b614a1823:

  drm/i915: Check before removing mm notifier (2024-02-29 14:14:40 +0200)


- Fix to extract HDCP information from primary connector
- Check for NULL mmu_interval_notifier before removing


Nirmoy Das (1):
  drm/i915: Check before removing mm notifier

Suraj Kandpal (3):
  drm/i915/hdcp: Move to direct reads for HDCP
  drm/i915/hdcp: Remove additional timing for reading mst hdcp message
  drm/i915/hdcp: Extract hdcp structure from correct connector

 drivers/gpu/drm/i915/display/intel_dp_hdcp.c | 47 ++--
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c  |  3 ++
 2 files changed, 19 insertions(+), 31 deletions(-)


[PULL] drm-intel-fixes

2024-02-22 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-fixes for v6.8-rc6.

Just a single fixup patch for TV mode.

Best Regards, Joonas

***

drm-intel-fixes-2024-02-22:

- Fixup for TV mode

The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d:

  Linux 6.8-rc5 (2024-02-18 12:56:25 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2024-02-22

for you to fetch changes up to fb1e881273f432e593f8789f99e725b09304cc97:

  drm/i915/tv: Fix TV mode (2024-02-21 09:30:20 +0200)


- Fixup for TV mode


Maxime Ripard (1):
  drm/i915/tv: Fix TV mode

 drivers/gpu/drm/i915/display/intel_sdvo.c | 10 +-
 drivers/gpu/drm/i915/display/intel_tv.c   | 10 +-
 2 files changed, 10 insertions(+), 10 deletions(-)


[PULL] drm-intel-fixes

2024-02-15 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-fixes towards v6.8-rc5. Two fixes.

Fix for #10172 (blank screen on JSL Chromebooks) and limiting SST link
rate within supported range.

Best Regards, Joonas

***

drm-intel-fixes-2024-02-15:

Fix for #10172: Blank screen on JSL Chromebooks. Stable fix to limit DP SST 
link rate to <=8.1Gbps.

The following changes since commit 841c35169323cd833294798e58b9bf63fa4fa1de:

  Linux 6.8-rc4 (2024-02-11 12:18:13 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2024-02-15

for you to fetch changes up to ad26d56d080780bbfcc1696ca0c0cce3e2124ef6:

  drm/i915/dp: Limit SST link rate to <=8.1Gbps (2024-02-12 11:39:19 +0200)


Fix for #10172: Blank screen on JSL Chromebooks. Stable fix to limit DP SST 
link rate to <=8.1Gbps.


Manasi Navare (1):
  drm/i915/dsc: Fix the macro that calculates DSCC_/DSCA_ PPS reg address

Ville Syrjälä (1):
  drm/i915/dp: Limit SST link rate to <=8.1Gbps

 drivers/gpu/drm/i915/display/intel_dp.c| 3 +++
 drivers/gpu/drm/i915/display/intel_vdsc_regs.h | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

2024-02-08 Thread Joonas Lahtinen
Hi Dave & Sima,

Here goes drm-intel-fixes, which is just the gvt-fixes PR for this week.

Regards, Joonas

***

drm-intel-fixes-2024-02-08:

- Just includes gvt-fixes-2024-02-05

The following changes since commit 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478:

  Linux 6.8-rc3 (2024-02-04 12:20:36 +)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2024-02-08

for you to fetch changes up to a99682e839af7be11a606bf802cba5b2bf93b8e9:

  Merge tag 'gvt-fixes-2024-02-05' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2024-02-05 15:56:47 +0200)


- Just includes gvt-fixes-2024-02-05


Dan Carpenter (1):
  drm/i915/gvt: Fix uninitialized variable in handle_mmio()

Joonas Lahtinen (1):
  Merge tag 'gvt-fixes-2024-02-05' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

Zhenyu Wang (1):
  drm/i915: Replace dead 01.org link

Zhi Wang (1):
  MAINTAINERS: Update Zhi Wang's email address

 MAINTAINERS | 4 ++--
 drivers/gpu/drm/i915/Kconfig| 2 +-
 drivers/gpu/drm/i915/gvt/handlers.c | 3 +--
 drivers/gpu/drm/i915/intel_gvt.c| 2 +-
 4 files changed, 5 insertions(+), 6 deletions(-)


[PULL] drm-intel-fixes

2024-01-26 Thread Joonas Lahtinen
Hi Dave & Sima,

Just one Cc stable patch (the rest was already in drm-intel-next-fixes).

Tried to wait for CI results, but none yet.

Best Regards, Joonas

***

drm-intel-fixes-2024-01-26:

- PSR fix for HSW

The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

  Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2024-01-26

for you to fetch changes up to f9f031dd21a7ce13a13862fa5281d32e1029c70f:

  drm/i915/psr: Only allow PSR in LPSP mode on HSW non-ULT (2024-01-25 10:44:13 
+0200)


- PSR fix for HSW


Ville Syrjälä (1):
  drm/i915/psr: Only allow PSR in LPSP mode on HSW non-ULT

 drivers/gpu/drm/i915/display/intel_psr.c | 14 --
 1 file changed, 12 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

2023-12-28 Thread Jani Nikula


Hi Dave & Sima -

A couple of more fixes towards v6.7.

drm-intel-fixes-2023-12-28:
drm/i915 fixes for v6.7-rc8:
- Fix bogus DPCD rev usage for DP phy test pattern setup
- Fix handling of MMIO triggered reports in the OA buffer

BR,
Jani.

The following changes since commit 861deac3b092f37b2c5e6871732f3e11486f7082:

  Linux 6.7-rc7 (2023-12-23 16:25:56 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-12-28

for you to fetch changes up to ee11d2d37f5c05bd7bf5ccc820a58f48423d032b:

  drm/i915/perf: Update handling of MMIO triggered reports (2023-12-27 12:50:15 
+0200)


drm/i915 fixes for v6.7-rc8:
- Fix bogus DPCD rev usage for DP phy test pattern setup
- Fix handling of MMIO triggered reports in the OA buffer


Khaled Almahallawy (1):
  drm/i915/dp: Fix passing the correct DPCD_REV for 
drm_dp_set_phy_test_pattern

Umesh Nerlige Ramappa (1):
  drm/i915/perf: Update handling of MMIO triggered reports

 drivers/gpu/drm/i915/display/intel_dp.c |  2 +-
 drivers/gpu/drm/i915/i915_perf.c| 39 -
 2 files changed, 35 insertions(+), 6 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-12-21 Thread Jani Nikula


Hi Dave & Sima -

A bit more than I'd like at this stage, but next week will be quiet.

drm-intel-fixes-2023-12-21:
drm/i915 fixes for v6.7-rc7:
- Fix state readout and check for DSC and bigjoiner combo
- Fix a potential integer overflow
- Reject async flips with bigjoiner
- Fix MTL HDMI/DP PLL clock selection
- Fix various issues by disabling pipe DMC events

BR,
Jani.

The following changes since commit ceb6a6f023fd3e8b07761ed900352ef574010bcb:

  Linux 6.7-rc6 (2023-12-17 15:19:28 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-12-21

for you to fetch changes up to 49e0a85ec3441edc6c77aa40206d6e5ee4597efc:

  drm/i915/dmc: Don't enable any pipe DMC events (2023-12-18 15:29:23 +0200)


drm/i915 fixes for v6.7-rc7:
- Fix state readout and check for DSC and bigjoiner combo
- Fix a potential integer overflow
- Reject async flips with bigjoiner
- Fix MTL HDMI/DP PLL clock selection
- Fix various issues by disabling pipe DMC events


Ankit Nautiyal (1):
  drm/i915/display: Get bigjoiner config before dsc config during readout

Imre Deak (1):
  drm/i915/mtl: Fix HDMI/DP PLL clock selection

Karthik Poosa (1):
  drm/i915/hwmon: Fix static analysis tool reported issues

Ville Syrjälä (2):
  drm/i915: Reject async flips with bigjoiner
  drm/i915/dmc: Don't enable any pipe DMC events

 drivers/gpu/drm/i915/display/intel_cx0_phy.c |  3 +-
 drivers/gpu/drm/i915/display/intel_display.c | 13 -
 drivers/gpu/drm/i915/display/intel_dmc.c | 43 ++--
 drivers/gpu/drm/i915/i915_hwmon.c|  4 +--
 4 files changed, 57 insertions(+), 6 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-12-13 Thread Jani Nikula


Hi Dave & Sima -

Fixes for -rc6, majority of them stable material.

drm-intel-fixes-2023-12-13:
drm/i915 fixes for v6.7-rc6:
- Fix selftest engine reset count storage for multi-tile
- Fix out-of-bounds reads for engine reset counts
- Fix ADL+ remapped stride with CCS
- Fix intel_atomic_setup_scalers() plane_state handling
- Fix ADL+ tiled plane stride when the POT stride is smaller than the original
- Fix eDP 1.4 rate select method link configuration

BR,
Jani.

The following changes since commit a39b6ac3781d46ba18193c9dbb2110f31e9bffe9:

  Linux 6.7-rc5 (2023-12-10 14:33:40 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-12-13

for you to fetch changes up to e6861d8264cd43c5eb20196e53df36fd71ec5698:

  drm/i915/edp: don't write to DP_LINK_BW_SET when using rate select 
(2023-12-11 13:15:35 +0200)


drm/i915 fixes for v6.7-rc6:
- Fix selftest engine reset count storage for multi-tile
- Fix out-of-bounds reads for engine reset counts
- Fix ADL+ remapped stride with CCS
- Fix intel_atomic_setup_scalers() plane_state handling
- Fix ADL+ tiled plane stride when the POT stride is smaller than the original
- Fix eDP 1.4 rate select method link configuration


Jani Nikula (1):
  drm/i915/edp: don't write to DP_LINK_BW_SET when using rate select

Tvrtko Ursulin (2):
  drm/i915/selftests: Fix engine reset count storage for multi-tile
  drm/i915: Use internal class when counting engine resets

Ville Syrjälä (3):
  drm/i915: Fix remapped stride with CCS on ADL+
  drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
  drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller than 
the original

 .../gpu/drm/i915/display/intel_dp_link_training.c  | 31 +++---
 drivers/gpu/drm/i915/display/intel_fb.c| 19 ++---
 drivers/gpu/drm/i915/display/skl_scaler.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_reset.c  |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |  5 ++--
 drivers/gpu/drm/i915/i915_gpu_error.h  | 12 +++--
 drivers/gpu/drm/i915/selftests/igt_live_test.c |  9 ---
 drivers/gpu/drm/i915/selftests/igt_live_test.h |  3 ++-
 8 files changed, 59 insertions(+), 24 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-12-07 Thread Jani Nikula


Hi Dave & Sima -

Fixes for -rc5. This includes [1] from last week.

BR,
Jani.


[1] https://lore.kernel.org/r/87fs0m48ol@intel.com




drm-intel-fixes-2023-12-07:
drm/i915 fixes for v6.7-rc5:
- d21a3962d304 ("drm/i915: Call intel_pre_plane_updates() also for pipes
  getting enabled") in the previous fixes pull depends on a change that
  wasn't included. Pick it up.
- Relax BXT/GLK DSI transcoder hblank limits
- Fix DP MST .mode_valid_ctx() return values
- Reject DP MST modes that require bigjoiner (as it's not yet supported on DP 
MST)
- Fix _intel_dsb_commit() variable type to allow negative values

BR,
Jani.

The following changes since commit d21a3962d3042e6f56ad324cf18bdd64a1e6ecfa:

  drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled 
(2023-11-29 10:23:25 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-12-07

for you to fetch changes up to 9f269070abe9c45dc60abc84e29326f855317eac:

  drm/i915: correct the input parameter on _intel_dsb_commit() (2023-12-05 
10:43:07 +0200)


drm/i915 fixes for v6.7-rc5:
- d21a3962d304 ("drm/i915: Call intel_pre_plane_updates() also for pipes
  getting enabled") in the previous fixes pull depends on a change that
  wasn't included. Pick it up.
- Relax BXT/GLK DSI transcoder hblank limits
- Fix DP MST .mode_valid_ctx() return values
- Reject DP MST modes that require bigjoiner (as it's not yet supported on DP 
MST)
- Fix _intel_dsb_commit() variable type to allow negative values


Ville Syrjälä (4):
  drm/i915: Check pipe active state in {planes,vrr}_{enabling,disabling}()
  drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
  drm/i915/mst: Fix .mode_valid_ctx() return values
  drm/i915/mst: Reject modes that require the bigjoiner

heminhong (1):
  drm/i915: correct the input parameter on _intel_dsb_commit()

 drivers/gpu/drm/i915/display/icl_dsi.c   |  7 +++
 drivers/gpu/drm/i915/display/intel_crt.c |  5 +
 drivers/gpu/drm/i915/display/intel_display.c | 22 ++
 drivers/gpu/drm/i915/display/intel_display.h |  3 +++
 drivers/gpu/drm/i915/display/intel_dp.c  |  4 
 drivers/gpu/drm/i915/display/intel_dp_mst.c  | 20 
 drivers/gpu/drm/i915/display/intel_dsb.c |  2 +-
 drivers/gpu/drm/i915/display/intel_dvo.c |  6 ++
 drivers/gpu/drm/i915/display/intel_hdmi.c|  4 
 drivers/gpu/drm/i915/display/intel_lvds.c|  5 +
 drivers/gpu/drm/i915/display/intel_sdvo.c|  8 +++-
 drivers/gpu/drm/i915/display/intel_tv.c  |  8 +++-
 drivers/gpu/drm/i915/display/vlv_dsi.c   | 18 +-
 13 files changed, 104 insertions(+), 8 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes follow-up

2023-12-01 Thread Jani Nikula


Hi Dave & Sima -

As Ville observed in [1], yesterday's fixes pull depends on a commit
that wasn't included, and VRR might suffer without it. Here's the
missing one.

I see that Dave already sent the drm fixes pull on to Linus, but here
goes nothing.

BR,
Jani.


[1] https://lore.kernel.org/r/zwjlapi4-qmzx...@intel.com


drm-intel-fixes-2023-12-01-1:
drm/i915 fixes for v6.7-rc4 #2:
- d21a3962d304 ("drm/i915: Call intel_pre_plane_updates() also for pipes
  getting enabled") in the previous fixes pull depends on a change that
  wasn't included. Pick it up.


The following changes since commit d21a3962d3042e6f56ad324cf18bdd64a1e6ecfa:

  drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled 
(2023-11-29 10:23:25 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-12-01-1

for you to fetch changes up to 96d7e79401364c6e9a63af5f74f76792b03cb832:

  drm/i915: Check pipe active state in {planes,vrr}_{enabling,disabling}() 
(2023-12-01 10:19:11 +0200)


drm/i915 fixes for v6.7-rc4 #2:
- d21a3962d304 ("drm/i915: Call intel_pre_plane_updates() also for pipes
  getting enabled") in the previous fixes pull depends on a change that
  wasn't included. Pick it up.


Ville Syrjälä (1):
  drm/i915: Check pipe active state in {planes,vrr}_{enabling,disabling}()

 drivers/gpu/drm/i915/display/intel_display.c | 12 
 1 file changed, 12 insertions(+)

-- 
Jani Nikula, Intel


Re: [PULL] drm-intel-fixes

2023-11-30 Thread Ville Syrjälä
On Thu, Nov 30, 2023 at 04:58:48PM +0200, Jani Nikula wrote:
> 
> Hi Dave & Sima -
> 
> i915 fixes for v6.7-rc4.
> 
> drm-intel-fixes-2023-11-30:
> drm/i915 fixes for v6.7-rc4:
> - Mark internal GSC engine with reserved uabi class
> - Take VGA converters into account in eDP probe
> - Fix intel_pre_plane_updates() call to ensure workarounds get applied
> 
> BR,
> Jani.
> 
> The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab:
> 
>   Linux 6.7-rc3 (2023-11-26 19:59:33 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-11-30
> 
> for you to fetch changes up to d21a3962d3042e6f56ad324cf18bdd64a1e6ecfa:
> 
>   drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled 
> (2023-11-29 10:23:25 +0200)
> 
> 
> drm/i915 fixes for v6.7-rc4:
> - Mark internal GSC engine with reserved uabi class
> - Take VGA converters into account in eDP probe
> - Fix intel_pre_plane_updates() call to ensure workarounds get applied
> 
> 
> Tvrtko Ursulin (1):
>   drm/i915/gsc: Mark internal GSC engine with reserved uabi class
> 
> Ville Syrjälä (2):
>   drm/i915: Also check for VGA converter in eDP probe
>   drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled

That last one might also require
commit bc53c4d56eb2 ("drm/i915: Check pipe active state in 
{planes,vrr}_{enabling,disabling}()")

The vrr stuff in particular might go wonky otherwise.

> 
>  drivers/gpu/drm/i915/display/intel_display.c |  3 ++-
>  drivers/gpu/drm/i915/display/intel_dp.c  | 28 +++-
>  drivers/gpu/drm/i915/gt/intel_engine_user.c  | 39 
> 
>  3 files changed, 46 insertions(+), 24 deletions(-)
> 
> -- 
> Jani Nikula, Intel

-- 
Ville Syrjälä
Intel


[PULL] drm-intel-fixes

2023-11-30 Thread Jani Nikula


Hi Dave & Sima -

i915 fixes for v6.7-rc4.

drm-intel-fixes-2023-11-30:
drm/i915 fixes for v6.7-rc4:
- Mark internal GSC engine with reserved uabi class
- Take VGA converters into account in eDP probe
- Fix intel_pre_plane_updates() call to ensure workarounds get applied

BR,
Jani.

The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab:

  Linux 6.7-rc3 (2023-11-26 19:59:33 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-11-30

for you to fetch changes up to d21a3962d3042e6f56ad324cf18bdd64a1e6ecfa:

  drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled 
(2023-11-29 10:23:25 +0200)


drm/i915 fixes for v6.7-rc4:
- Mark internal GSC engine with reserved uabi class
- Take VGA converters into account in eDP probe
- Fix intel_pre_plane_updates() call to ensure workarounds get applied


Tvrtko Ursulin (1):
  drm/i915/gsc: Mark internal GSC engine with reserved uabi class

Ville Syrjälä (2):
  drm/i915: Also check for VGA converter in eDP probe
  drm/i915: Call intel_pre_plane_updates() also for pipes getting enabled

 drivers/gpu/drm/i915/display/intel_display.c |  3 ++-
 drivers/gpu/drm/i915/display/intel_dp.c  | 28 +++-
 drivers/gpu/drm/i915/gt/intel_engine_user.c  | 39 
 3 files changed, 46 insertions(+), 24 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-11-23 Thread Jani Nikula


Hi Dave & Sima -

drm-intel-fixes-2023-11-23:
drm/i915 fixes for v6.7-rc3:
- Fix race between DP MST connectore registration and setup
- Fix GT memory leak on probe error path

BR,
Jani.

The following changes since commit 98b1cc82c4affc16f5598d4fa14b1858671b2263:

  Linux 6.7-rc2 (2023-11-19 15:02:14 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-11-23

for you to fetch changes up to 0561794b6b642b84b879bf97061c4b4fa692839e:

  drm/i915: do not clean GT table on error path (2023-11-20 11:06:53 +0200)


drm/i915 fixes for v6.7-rc3:
- Fix race between DP MST connectore registration and setup
- Fix GT memory leak on probe error path


Andrzej Hajda (1):
  drm/i915: do not clean GT table on error path

Imre Deak (1):
  drm/i915/dp_mst: Fix race between connector registration and setup

 drivers/gpu/drm/i915/display/intel_dp_mst.c | 16 
 drivers/gpu/drm/i915/gt/intel_gt.c  | 11 ---
 drivers/gpu/drm/i915/i915_driver.c  |  4 +---
 3 files changed, 9 insertions(+), 22 deletions(-)

-- 
Jani Nikula, Intel


[PULL] drm-intel-fixes

2023-10-26 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-10-26:

- Determine context valid in OA reports (Umesh)
- Hold GT forcewake during steering operations (Matt Roper)
- Check if PMU is closed before stopping event (Umesh)

Thanks,
Rodrigo.

The following changes since commit 05d3ef8bba77c1b5f98d941d8b2d4aeab8118ef1:

  Linux 6.6-rc7 (2023-10-22 12:11:21 -1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-10-26

for you to fetch changes up to 4cbed7702eb775cca22fff6827a549092cb59f61:

  drm/i915/pmu: Check if pmu is closed before stopping event (2023-10-25 
08:44:30 -0400)


- Determine context valid in OA reports (Umesh)
- Hold GT forcewake during steering operations (Matt Roper)
- Check if PMU is closed before stopping event (Umesh)


Matt Roper (1):
  drm/i915/mcr: Hold GT forcewake during steering operations

Umesh Nerlige Ramappa (2):
  drm/i915/perf: Determine context valid in OA reports
  drm/i915/pmu: Check if pmu is closed before stopping event

 drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 24 ++--
 drivers/gpu/drm/i915/i915_perf.c   |  4 ++--
 drivers/gpu/drm/i915/i915_pmu.c|  9 +
 3 files changed, 33 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2023-10-19 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-10-19:

- Fix display issue that was blocking S0ix (Khaled)
- Retry gtt fault when out of fence registers (Ville)

Thanks,
Rodrigo.

The following changes since commit 58720809f52779dc0f08e53e54b014209d13eebb:

  Linux 6.6-rc6 (2023-10-15 13:34:39 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-10-19

for you to fetch changes up to e339c6d628fe66c9b64bf31040a55770952aec57:

  drm/i915: Retry gtt fault when out of fence registers (2023-10-17 22:08:54 
-0400)


- Fix display issue that was blocking S0ix (Khaled)
- Retry gtt fault when out of fence registers (Ville)


Khaled Almahallawy (1):
  drm/i915/cx0: Only clear/set the Pipe Reset bit of the PHY Lanes Owned

Ville Syrjälä (1):
  drm/i915: Retry gtt fault when out of fence registers

 drivers/gpu/drm/i915/display/intel_cx0_phy.c | 3 +--
 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

2023-10-05 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-10-05:

- Fix for OpenGL CTS regression on Compute Shaders (Nirmoy)
- Fix for default engines initialization (Mathias)
- Fix TLB invalidation for Multi-GT devices (Chris)

Thanks,
Rodrigo.

The following changes since commit 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa:

  Linux 6.6-rc4 (2023-10-01 14:15:13 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-10-05

for you to fetch changes up to 1fbb6c1d88c421bf9e7fc456aeabc5dc026062e0:

  drm/i915: Invalidate the TLBs on each GT (2023-10-04 09:00:37 -0400)


- Fix for OpenGL CTS regression on Compute Shaders (Nirmoy)
- Fix for default engines initialization (Mathias)
- Fix TLB invalidation for Multi-GT devices (Chris)


Chris Wilson (1):
  drm/i915: Invalidate the TLBs on each GT

Mathias Krause (1):
  drm/i915: Register engines early to avoid type confusion

Nirmoy Das (1):
  drm/i915: Don't set PIPE_CONTROL_FLUSH_L3 for aux inval

 drivers/gpu/drm/i915/gem/i915_gem_pages.c |  2 +-
 drivers/gpu/drm/i915/gt/gen8_engine_cs.c  | 11 ++-
 drivers/gpu/drm/i915/i915_gem.c   |  9 +++--
 3 files changed, 18 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2023-09-28 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-09-28:

- Fix a panic regression on gen8_ggtt_insert_entries (Matthew Wilcox)
- Fix load issue due to reservation address in ggtt_reserve_guc_top (Javier 
Pello)
- Fix a possible deadlock with guc busyness worker (Umesh)

Thanks,
Rodrigo.

The following changes since commit 6465e260f48790807eef06b583b38ca9789b6072:

  Linux 6.6-rc3 (2023-09-24 14:31:13 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-09-28

for you to fetch changes up to 907ef0398c938be8232b77c61cfcf50fbfd95554:

  i915/guc: Get runtime pm in busyness worker only if already active 
(2023-09-26 13:58:16 -0400)


- Fix a panic regression on gen8_ggtt_insert_entries (Matthew Wilcox)
- Fix load issue due to reservation address in ggtt_reserve_guc_top (Javier 
Pello)
- Fix a possible deadlock with guc busyness worker (Umesh)


Javier Pello (1):
  drm/i915/gt: Fix reservation address in ggtt_reserve_guc_top

Matthew Wilcox (Oracle) (1):
  i915: Limit the length of an sg list to the requested length

Umesh Nerlige Ramappa (1):
  i915/guc: Get runtime pm in busyness worker only if already active

 drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 11 ---
 drivers/gpu/drm/i915/gt/intel_ggtt.c  | 23 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 38 +--
 3 files changed, 59 insertions(+), 13 deletions(-)


[PULL] drm-intel-fixes

2023-09-21 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2023-09-21:

- Prevent error pointer dereference (Dan Carpenter)
- Fix PMU busyness values when using GuC mode (Umesh)

Thanks,
Rodrigo.

The following changes since commit ce9ecca0238b140b88f43859b211c9fdfd8e5b70:

  Linux 6.6-rc2 (2023-09-17 14:40:24 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-09-21

for you to fetch changes up to c524cd40e8a2a1a36f4898eaf2024beefeb815f3:

  i915/pmu: Move execlist stats initialization to execlist specific setup 
(2023-09-20 10:55:37 -0400)


- Prevent error pointer dereference (Dan Carpenter)
- Fix PMU busyness values when using GuC mode (Umesh)


Dan Carpenter (1):
  drm/i915/gt: Prevent error pointer dereference

Umesh Nerlige Ramappa (1):
  i915/pmu: Move execlist stats initialization to execlist specific setup

 drivers/gpu/drm/i915/gt/intel_engine_cs.c| 1 -
 drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 2 ++
 drivers/gpu/drm/i915/gt/intel_lrc.c  | 5 +++--
 3 files changed, 5 insertions(+), 3 deletions(-)


[PULL] drm-intel-fixes

2023-09-14 Thread Rodrigo Vivi
Hi Dave and Daniel,

Only a fix for blank-screen regression on Chromebooks,
targeting stable 6.5.

Here goes drm-intel-fixes-2023-09-14:
- Only check eDP HPD when AUX CH is shared. (Ville)

Thanks,
Rodrigo.

The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:

  Linux 6.6-rc1 (2023-09-10 16:28:41 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-09-14

for you to fetch changes up to 7c95ec3b59479bb24093918bbfc801c9f31826f2:

  drm/i915: Only check eDP HPD when AUX CH is shared (2023-09-12 08:35:32 -0400)


- Only check eDP HPD when AUX CH is shared.


Ville Syrjälä (1):
  drm/i915: Only check eDP HPD when AUX CH is shared

 drivers/gpu/drm/i915/display/intel_bios.c | 21 +
 drivers/gpu/drm/i915/display/intel_bios.h |  1 +
 drivers/gpu/drm/i915/display/intel_dp.c   |  7 ++-
 3 files changed, 28 insertions(+), 1 deletion(-)


[PULL] drm-intel-fixes

2023-08-24 Thread Rodrigo Vivi
Hi Dave and Daniel,

And this is our fixes targeting 6.5 (rc8?).
I'm again covering for Tvrtko at this round.

Please also notice that here we also have the drm
patches fixing the HPD polling that I had mentioned
in our next-fixes.

One is the fix itself and the other is a dependency
to add the helper to reschedule the poll work.
Both patches also targeting stable 6.4+.

drm-intel-fixes-2023-08-24:
- Fix power consumption at s2idle on DG2 (Anshuman)
- Fix documentation build warning (Jani)
- Fix Display HPD (Imre)

Thanks,
Rodrigo.

The following changes since commit 706a741595047797872e669b3101429ab8d378ef:

  Linux 6.5-rc7 (2023-08-20 15:02:52 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-08-24

for you to fetch changes up to 1dcc437427bbcebc8381226352f7ade08a271191:

  drm/i915: Fix HPD polling, reenabling the output poll work as needed 
(2023-08-23 17:10:57 -0400)


- Fix power consumption at s2idle on DG2 (Anshuman)
- Fix documentation build warning (Jani)
- Fix Display HPD (Imre)


Anshuman Gupta (1):
  drm/i915/dgfx: Enable d3cold at s2idle

Imre Deak (2):
  drm: Add an HPD poll helper to reschedule the poll work
  drm/i915: Fix HPD polling, reenabling the output poll work as needed

Jani Nikula (1):
  drm/i915: fix Sphinx indentation warning

 drivers/gpu/drm/drm_probe_helper.c   | 68 +++-
 drivers/gpu/drm/i915/display/intel_hotplug.c |  4 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c   |  2 +
 drivers/gpu/drm/i915/i915_driver.c   | 33 --
 include/drm/drm_probe_helper.h   |  1 +
 5 files changed, 69 insertions(+), 39 deletions(-)


[PULL] drm-intel-fixes

2023-08-17 Thread Rodrigo Vivi
Hi Dave and Daniel,

I'm covering for Tvrtko on this week's fixes flow.

These 3 patches were queued since last week, but I had hold
because I had some doubts about the CI results.
I have confirmed those issues were not related to these 3
patches, so, here they are.

drm-intel-fixes-2023-08-17:
- Fix the flow for ignoring GuC SLPC efficient frequency selection (Vinay)
- Fix SDVO panel_type initialization (Jani)
- Fix display probe for IVB Q and IVB D GT2 server (Jani)

Thanks,
Rodrigo.

The following changes since commit 0bc057eae2610c275361766a064a23cc2758f3ff:

  Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2023-08-02 08:14:57 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-08-17

for you to fetch changes up to 423ffe62c06ae241ad460f4629dddb9dcf55e060:

  drm/i915: fix display probe for IVB Q and IVB D GT2 server (2023-08-14 
11:59:30 -0400)


- Fix the flow for ignoring GuC SLPC efficient frequency selection (Vinay)
- Fix SDVO panel_type initialization (Jani)
- Fix display probe for IVB Q and IVB D GT2 server (Jani)


Jani Nikula (2):
  drm/i915/sdvo: fix panel_type initialization
  drm/i915: fix display probe for IVB Q and IVB D GT2 server

Vinay Belgaumkar (1):
  drm/i915/guc/slpc: Restore efficient freq earlier

 .../gpu/drm/i915/display/intel_display_device.c| 24 +++---
 drivers/gpu/drm/i915/display/intel_sdvo.c  |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c| 22 
 3 files changed, 36 insertions(+), 12 deletions(-)


[PULL] drm-intel-fixes

2023-08-03 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Some fixes for the 6.5 RC this week: one for GVT display I2C handling,
which came via gvt-fixes merge, one for premature freeing of request
memory, and finally one fix for Gen12 AUX invalidatation flow to correctly
align it with the documented sequence.

Regards,

Tvrtko

drm-intel-fixes-2023-08-03:
- Fix bug in getting msg length in AUX CH registers handler [gvt] (Yan Zhao)
- Gen12 AUX invalidation fixes [gt] (Andi Shyti, Jonathan Cavitt)
- Fix premature release of request's reusable memory (Janusz Krzysztofik)

- Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (Tvrtko Ursulin)
The following changes since commit 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4:

  Linux 6.5-rc4 (2023-07-30 13:23:47 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-08-03

for you to fetch changes up to 0bc057eae2610c275361766a064a23cc2758f3ff:

  Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2023-08-02 08:14:57 +0100)


- Fix bug in getting msg length in AUX CH registers handler [gvt] (Yan Zhao)
- Gen12 AUX invalidation fixes [gt] (Andi Shyti, Jonathan Cavitt)
- Fix premature release of request's reusable memory (Janusz Krzysztofik)

- Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (Tvrtko Ursulin)


Andi Shyti (5):
  drm/i915/gt: Cleanup aux invalidation registers
  drm/i915: Add the gen12_needs_ccs_aux_inv helper
  drm/i915/gt: Rename flags with bit_group_X according to the datasheet
  drm/i915/gt: Enable the CCS_FLUSH bit in the pipe control and in the CS
  drm/i915/gt: Support aux invalidation on all engines

Janusz Krzysztofik (1):
  drm/i915: Fix premature release of request's reusable memory

Jonathan Cavitt (2):
  drm/i915/gt: Ensure memory quiesced before invalidation
  drm/i915/gt: Poll aux invalidation register bit on invalidation

Tvrtko Ursulin (1):
  Merge tag 'gvt-fixes-2023-08-02' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

Yan Zhao (1):
  drm/i915/gvt: Fix bug in getting msg length in AUX CH registers handler

 drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 140 ++-
 drivers/gpu/drm/i915/gt/gen8_engine_cs.h |  21 ++--
 drivers/gpu/drm/i915/gt/intel_gpu_commands.h |   2 +
 drivers/gpu/drm/i915/gt/intel_gt_regs.h  |  16 +--
 drivers/gpu/drm/i915/gt/intel_lrc.c  |  17 +---
 drivers/gpu/drm/i915/gvt/edid.c  |   2 +-
 drivers/gpu/drm/i915/i915_active.c   |  99 +--
 drivers/gpu/drm/i915/i915_request.c  |  11 +++
 8 files changed, 199 insertions(+), 109 deletions(-)


[PULL] drm-intel-fixes

2023-07-27 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Only two small fixes for the 6.5 RC this week - one display for display
(DPT) corruption under memory pressure, and one for selftests theoretical
edge case.

Regards,

Tvrtko

drm-intel-fixes-2023-07-27:
- Use shmem for dpt objects [dpt] (Radhakrishna Sripada)
- Fix an error handling path in igt_write_huge() (Christophe JAILLET)
The following changes since commit 6eaae198076080886b9e7d57f4ae06fa782f90ef:

  Linux 6.5-rc3 (2023-07-23 15:24:10 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-07-27

for you to fetch changes up to e354f67733115b4453268f61e6e072e9b1ea7a2f:

  drm/i915: Fix an error handling path in igt_write_huge() (2023-07-25 08:38:12 
+0100)


- Use shmem for dpt objects [dpt] (Radhakrishna Sripada)
- Fix an error handling path in igt_write_huge() (Christophe JAILLET)


Christophe JAILLET (1):
  drm/i915: Fix an error handling path in igt_write_huge()

Radhakrishna Sripada (1):
  drm/i915/dpt: Use shmem for dpt objects

 drivers/gpu/drm/i915/display/intel_dpt.c| 4 +++-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c | 6 --
 2 files changed, 7 insertions(+), 3 deletions(-)


[PULL] drm-intel-fixes

2023-07-20 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Only two fixes for the 6.5 rc window this week - one perf/OA use after
free on Xe_HP platforms and one defconfig build fix for GCC versions older
than 8.

Regards,

Tvrtko

drm-intel-fixes-2023-07-20:
- Add sentinel to xehp_oa_b_counters [perf] (Andrzej Hajda)
- Revert "drm/i915: use localized __diag_ignore_all() instead of per file" 
(Jani Nikula)
The following changes since commit fdf0eaf11452d72945af31804e2a1048ee1b574c:

  Linux 6.5-rc2 (2023-07-16 15:10:37 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-07-20

for you to fetch changes up to 2c27770a7bc88ef7f6614d11d96d8e62017d0b78:

  Revert "drm/i915: use localized __diag_ignore_all() instead of per file" 
(2023-07-17 13:39:04 +0100)


- Add sentinel to xehp_oa_b_counters [perf] (Andrzej Hajda)
- Revert "drm/i915: use localized __diag_ignore_all() instead of per file" 
(Jani Nikula)


Andrzej Hajda (1):
  drm/i915/perf: add sentinel to xehp_oa_b_counters

Jani Nikula (1):
  Revert "drm/i915: use localized __diag_ignore_all() instead of per file"

 drivers/gpu/drm/i915/Makefile   | 5 +
 drivers/gpu/drm/i915/display/intel_display_device.c | 5 -
 drivers/gpu/drm/i915/display/intel_fbdev.c  | 5 -
 drivers/gpu/drm/i915/i915_pci.c | 5 -
 drivers/gpu/drm/i915/i915_perf.c| 1 +
 5 files changed, 6 insertions(+), 15 deletions(-)


[PULL] drm-intel-fixes

2023-07-13 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Just a few small fixes for the 6.5 RC this week - one functional fixup for
reading of perf/OA buffers and some code cleanups elsewhere.

Regards,

Tvrtko

drm-intel-fixes-2023-07-13:
- Don't preserve dpll_hw_state for slave crtc in Bigjoiner (Stanislav Lisovskiy)
- Consider OA buffer boundary when zeroing out reports [perf] (Umesh Nerlige 
Ramappa)
- Remove dead code from gen8_pte_encode (Tvrtko Ursulin)
- Fix one wrong caching mode enum usage (Tvrtko Ursulin)
The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

  Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-07-13

for you to fetch changes up to 113899c2669dff148b2a5bea4780123811aecc13:

  drm/i915: Fix one wrong caching mode enum usage (2023-07-11 09:21:32 +0100)


- Don't preserve dpll_hw_state for slave crtc in Bigjoiner (Stanislav Lisovskiy)
- Consider OA buffer boundary when zeroing out reports [perf] (Umesh Nerlige 
Ramappa)
- Remove dead code from gen8_pte_encode (Tvrtko Ursulin)
- Fix one wrong caching mode enum usage (Tvrtko Ursulin)


Stanislav Lisovskiy (1):
  drm/i915: Don't preserve dpll_hw_state for slave crtc in Bigjoiner

Tvrtko Ursulin (2):
  drm/i915: Remove dead code from gen8_pte_encode
  drm/i915: Fix one wrong caching mode enum usage

Umesh Nerlige Ramappa (1):
  drm/i915/perf: Consider OA buffer boundary when zeroing out reports

 drivers/gpu/drm/i915/display/intel_display.c |  1 -
 drivers/gpu/drm/i915/gt/gen8_ppgtt.c |  3 ---
 drivers/gpu/drm/i915/gt/intel_gtt.c  |  2 +-
 drivers/gpu/drm/i915/i915_perf.c | 11 ++-
 4 files changed, 11 insertions(+), 6 deletions(-)


[PULL] drm-intel-fixes

2023-06-08 Thread Maarten Lankhorst
Hi Dave, Daniel,

drm-misc-fixes for v6.4-rc6.

Seems to be mostly small fixes, just a few more for ivpu.

Cheers,

~Maarten

drm-misc-fixes-2023-06-08:

drm-misc-fixes for v6.4-rc6:
- resume and modeset fixes for ast.
- Fill in fb-helper vars more correctly.
- Assorted ivpu fixes.
- lima context destroy fix.
The following changes since commit e997c218ad736fd6f524d73a987bad9d94128d3d:

  accel/qaic: Fix NNC message corruption (2023-05-23 09:51:38 -0600)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-06-08

for you to fetch changes up to a3efabee5878b8d7b1863debb78cb7129d07a346:

  accel/ivpu: Fix sporadic VPU boot failure (2023-06-08 08:17:27 +0200)


drm-misc-fixes for v6.4-rc6:
- resume and modeset fixes for ast.
- Fill in fb-helper vars more correctly.
- Assorted ivpu fixes.
- lima context destroy fix.


Andrzej Kacprowski (2):
  accel/ivpu: Do not trigger extra VPU reset if the VPU is idle
  accel/ivpu: Fix sporadic VPU boot failure

Erico Nunes (1):
  drm/lima: fix sched context destroy

Geert Uytterhoeven (1):
  drm/fb-helper: Fix height, width, and accel_flags in fb_var

Jammy Huang (2):
  drm/ast: Fix long time waiting on s3/s4 resume
  drm/ast: Fix modeset failed on DisplayPort

Randy Dunlap (1):
  accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR

Stanislaw Gruszka (2):
  accel/ivpu: Reserve all non-command bo's using DMA_RESV_USAGE_BOOKKEEP
  accel/ivpu: Do not use mutex_lock_interruptible

 drivers/accel/ivpu/Kconfig   |  1 +
 drivers/accel/ivpu/ivpu_hw_mtl.c | 22 +++
 drivers/accel/ivpu/ivpu_hw_mtl_reg.h |  1 +
 drivers/accel/ivpu/ivpu_ipc.c    |  4 +--
 drivers/accel/ivpu/ivpu_job.c    | 21 +-
 drivers/accel/ivpu/ivpu_mmu.c    | 22 ---
 drivers/gpu/drm/ast/ast_dp.c | 55 +++-
 drivers/gpu/drm/ast/ast_drv.h    |  5 +---
 drivers/gpu/drm/ast/ast_main.c   | 11 ++--
 drivers/gpu/drm/ast/ast_mode.c   | 15 --
 drivers/gpu/drm/ast/ast_post.c   |  3 +-
 drivers/gpu/drm/drm_fb_helper.c  | 12 
 drivers/gpu/drm/lima/lima_sched.c    |  2 +-
 13 files changed, 90 insertions(+), 84 deletions(-)



[PULL] drm-intel-fixes

2023-06-08 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here's the drm-intel-fixes PR for v6.4-rc6.

Couple of display compatibility fixes and two static checker fixes for
selftests.

Regards, Joonas

***

drm-intel-fixes-2023-06-08:

CDCLK voltage fix for ADL-P and eDP wake sync pulse fix.
Two error handling fixes to selftests (to appease static checkers)

The following changes since commit 9561de3a55bed6bdd44a12820ba81ec416e705a7:

  Linux 6.4-rc5 (2023-06-04 14:04:27 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-06-08

for you to fetch changes up to 79d0150d2d983a4f6efee676cea06027f586fcd0:

  drm/i915/selftests: Add some missing error propagation (2023-06-07 12:43:22 
+0300)


CDCLK voltage fix for ADL-P and eDP wake sync pulse fix.
Two error handling fixes to selftests (to appease static checkers)


Andi Shyti (1):
  drm/i915/gt: Use the correct error value when kernel_context() fails

Chaitanya Kumar Borah (1):
  drm/i915/display: Set correct voltage level for 480MHz CDCLK

Jouni Högander (1):
  drm/i915: Use 18 fast wake AUX sync len

Tvrtko Ursulin (1):
  drm/i915/selftests: Add some missing error propagation

 drivers/gpu/drm/i915/display/intel_cdclk.c | 30 +++---
 drivers/gpu/drm/i915/display/intel_dp_aux.c|  2 +-
 .../gpu/drm/i915/gem/selftests/i915_gem_context.c  | 14 +++---
 drivers/gpu/drm/i915/gt/selftest_execlists.c   | 12 ++---
 4 files changed, 45 insertions(+), 13 deletions(-)


[PULL] drm-intel-fixes

2023-06-01 Thread Joonas Lahtinen
Hi Dave & Daniel,

One fix appeared this morning, related to OA API for
non-power-of-two reports.

Full CI results not in yet, BAT is looking good so please check
before pulling the trigger.

Regards, Joonas

***

drm-intel-fixes-2023-06-01:

- Fix for OA reporting to allow detecting non-power-of-two reports

The following changes since commit 7877cb91f1081754a1487c144d85dc0d2e2e7fc4:

  Linux 6.4-rc4 (2023-05-28 07:49:00 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-06-01

for you to fetch changes up to 62fe398761cd06a428e6f367aba84732a2f1c268:

  drm/i915/perf: Clear out entire reports after reading if not power of 2 size 
(2023-06-01 09:41:58 +0300)


- Fix for OA reporting to allow detecting non-power-of-two reports


Ashutosh Dixit (1):
  drm/i915/perf: Clear out entire reports after reading if not power of 2 
size

 drivers/gpu/drm/i915/i915_perf.c | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)


Re: [PULL] drm-intel-fixes

2023-05-25 Thread Jani Nikula
On Thu, 25 May 2023, Joonas Lahtinen  wrote:
> Hi Dave & Daniel,
>
> Here goes drm-intel-fixes for v4.6-rc4.

You're seven years late for that one. ;D

J.

>
> Again just one fix, for pipejoiner config pipe disabling.
>
> Regards, Joonas
>
> ***
>
> drm-intel-fixes-2023-05-25:
>
> PIPEDMC disabling fix for bigjoiner config
>
> The following changes since commit 44c026a73be8038f03dbdeef028b642880cf1511:
>
>   Linux 6.4-rc3 (2023-05-21 14:05:48 -0700)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-05-25
>
> for you to fetch changes up to 45dfbd992923f4df174db4e23b96fca7e30d73e2:
>
>   drm/i915: Fix PIPEDMC disabling for a bigjoiner configuration (2023-05-22 
> 17:10:11 +0300)
>
> 
> PIPEDMC disabling fix for bigjoiner config
>
> 
> Imre Deak (1):
>   drm/i915: Fix PIPEDMC disabling for a bigjoiner configuration
>
>  drivers/gpu/drm/i915/display/intel_display.c | 12 ++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2023-05-25 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here goes drm-intel-fixes for v4.6-rc4.

Again just one fix, for pipejoiner config pipe disabling.

Regards, Joonas

***

drm-intel-fixes-2023-05-25:

PIPEDMC disabling fix for bigjoiner config

The following changes since commit 44c026a73be8038f03dbdeef028b642880cf1511:

  Linux 6.4-rc3 (2023-05-21 14:05:48 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-05-25

for you to fetch changes up to 45dfbd992923f4df174db4e23b96fca7e30d73e2:

  drm/i915: Fix PIPEDMC disabling for a bigjoiner configuration (2023-05-22 
17:10:11 +0300)


PIPEDMC disabling fix for bigjoiner config


Imre Deak (1):
  drm/i915: Fix PIPEDMC disabling for a bigjoiner configuration

 drivers/gpu/drm/i915/display/intel_display.c | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)


[PULL] drm-intel-fixes

2023-05-17 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here goes drm-intel-fixes for v6.4-rc3.

Just one missing null check addition for HDCP code.

Regards, Joonas

***

drm-intel-fixes-2023-05-17:

Add missing null check for HDCP code.

The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

  Linux 6.4-rc2 (2023-05-14 12:51:40 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-05-17

for you to fetch changes up to 5896f2d363d5cfb7510856c90d5e0ed934a1d340:

  drm/i915/hdcp: Check if media_gt exists (2023-05-15 10:42:35 +0300)


Add missing null check for HDCP code.


Suraj Kandpal (1):
  drm/i915/hdcp: Check if media_gt exists

 drivers/gpu/drm/i915/display/intel_hdcp.c | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2023-05-11 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here goes drm-intel-fixes for v6.4-rc2.

Important fix to taint kernel when force_probe is used, two display
fixes (null deref/div-by-zero) and a GuC error capture register list
correction.

Regards, Joonas

PS. Again had to remove one commit with incorrect Fixes: tag so check CI
for results before you merge.

***

drm-intel-fixes-2023-05-11-1:

- Fix to taint kernel when force_probe is used
- Null deref and div-by-zero fixes for display
- GuC error capture fix for Xe devices

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

  Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-05-11-1

for you to fetch changes up to 79c901c93562bdf1c84ce6c1b744fbbe4389a6eb:

  drm/i915: taint kernel when force probing unsupported devices (2023-05-11 
14:11:59 +0300)


- Fix to taint kernel when force_probe is used
- Null deref and div-by-zero fixes for display
- GuC error capture fix for Xe devices


Jani Nikula (1):
  drm/i915: taint kernel when force probing unsupported devices

John Harrison (1):
  drm/i915/guc: Don't capture Gen8 regs on Xe devices

Nikita Zhandarovich (1):
  drm/i915/dp: prevent potential div-by-zero

Stanislav Lisovskiy (1):
  drm/i915: Fix NULL ptr deref by checking new_crtc_state

 drivers/gpu/drm/i915/Kconfig  | 12 +++-
 drivers/gpu/drm/i915/display/intel_atomic_plane.c |  4 ++--
 drivers/gpu/drm/i915/display/intel_dp.c   |  5 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c|  7 +--
 drivers/gpu/drm/i915/i915_pci.c   |  6 ++
 5 files changed, 25 insertions(+), 9 deletions(-)


[PULL] drm-intel-fixes

2023-04-19 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2023-04-19:
drm/i915 fixes for v6.3 final:
- Fix fast wake AUX sync len

BR,
Jani.

The following changes since commit 6a8f57ae2eb07ab39a6f0ccad60c760743051026:

  Linux 6.3-rc7 (2023-04-16 15:23:53 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-04-19

for you to fetch changes up to e1c71f8f918047ce822dc19b42ab1261ed259fd1:

  drm/i915: Fix fast wake AUX sync len (2023-04-17 10:23:21 +0300)


drm/i915 fixes for v6.3 final:
- Fix fast wake AUX sync len


Ville Syrjälä (1):
  drm/i915: Fix fast wake AUX sync len

 drivers/gpu/drm/i915/display/intel_dp_aux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-fixes

2023-04-13 Thread Daniel Vetter
On Thu, Apr 13, 2023 at 10:13:57AM +0300, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> One DSI fix, stable material.
> 
> drm-intel-fixes-2023-04-13:
> drm/i915 fixes for v6.3-rc7:
> - Fix dual link DSI for TGL+
> 
> BR,
> Jani.
> 
> The following changes since commit 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d:
> 
>   Linux 6.3-rc6 (2023-04-09 11:15:57 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-04-13

Pulled, thanks

> 
> for you to fetch changes up to 6b8446859c971a5783a2cdc90adf32e64de3bd23:
> 
>   drm/i915/dsi: fix DSS CTL register offsets for TGL+ (2023-04-11 11:41:57 
> +0300)
> 
> 
> drm/i915 fixes for v6.3-rc7:
> - Fix dual link DSI for TGL+
> 
> 
> Jani Nikula (1):
>   drm/i915/dsi: fix DSS CTL register offsets for TGL+
> 
>  drivers/gpu/drm/i915/display/icl_dsi.c | 20 
>  1 file changed, 16 insertions(+), 4 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-fixes

2023-04-13 Thread Jani Nikula


Hi Dave & Daniel -

One DSI fix, stable material.

drm-intel-fixes-2023-04-13:
drm/i915 fixes for v6.3-rc7:
- Fix dual link DSI for TGL+

BR,
Jani.

The following changes since commit 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d:

  Linux 6.3-rc6 (2023-04-09 11:15:57 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-04-13

for you to fetch changes up to 6b8446859c971a5783a2cdc90adf32e64de3bd23:

  drm/i915/dsi: fix DSS CTL register offsets for TGL+ (2023-04-11 11:41:57 
+0300)


drm/i915 fixes for v6.3-rc7:
- Fix dual link DSI for TGL+


Jani Nikula (1):
  drm/i915/dsi: fix DSS CTL register offsets for TGL+

 drivers/gpu/drm/i915/display/icl_dsi.c | 20 
 1 file changed, 16 insertions(+), 4 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-fixes

2023-04-05 Thread Daniel Vetter
On Wed, Apr 05, 2023 at 12:04:04PM +0300, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> drm-intel-fixes-2023-04-05:
> drm/i915 fixes for v6.3-rc6:
> - Fix DP MST DSC M/N calculation to use compressed bpp
> - Fix racy use-after-free in perf ioctl
> - Fix context runtime accounting
> - Fix handling of GT reset during HuC loading
> - Fix use of unsigned vm_fault_t for error values
> 
> BR,
> Jani.
> 
> The following changes since commit 7e364e56293bb98cae1b55fd835f5991c4e96e7d:
> 
>   Linux 6.3-rc5 (2023-04-02 14:29:29 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-04-05
> 
> for you to fetch changes up to dc3421560a67361442f33ec962fc6dd48895a0df:
> 
>   drm/i915: Fix context runtime accounting (2023-04-03 11:37:00 +0300)

Pulled, thanks

> 
> 
> drm/i915 fixes for v6.3-rc6:
> - Fix DP MST DSC M/N calculation to use compressed bpp
> - Fix racy use-after-free in perf ioctl
> - Fix context runtime accounting
> - Fix handling of GT reset during HuC loading
> - Fix use of unsigned vm_fault_t for error values
> 
> 
> Daniele Ceraolo Spurio (1):
>   drm/i915/huc: Cancel HuC delayed load timer on reset.
> 
> Matthew Auld (1):
>   drm/i915/ttm: fix sparse warning
> 
> Min Li (1):
>   drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
> 
> Stanislav Lisovskiy (1):
>   drm/i915: Use compressed bpp when calculating m/n value for DP MST DSC
> 
> Tvrtko Ursulin (1):
>   drm/i915: Fix context runtime accounting
> 
>  drivers/gpu/drm/i915/display/intel_dp_mst.c  |  2 +-
>  drivers/gpu/drm/i915/gem/i915_gem_ttm.c  |  5 +++--
>  drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 12 ++--
>  drivers/gpu/drm/i915/gt/uc/intel_huc.c   |  7 +++
>  drivers/gpu/drm/i915/gt/uc/intel_huc.h   |  7 +--
>  drivers/gpu/drm/i915/i915_perf.c |  6 +++---
>  6 files changed, 25 insertions(+), 14 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-fixes

2023-04-05 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2023-04-05:
drm/i915 fixes for v6.3-rc6:
- Fix DP MST DSC M/N calculation to use compressed bpp
- Fix racy use-after-free in perf ioctl
- Fix context runtime accounting
- Fix handling of GT reset during HuC loading
- Fix use of unsigned vm_fault_t for error values

BR,
Jani.

The following changes since commit 7e364e56293bb98cae1b55fd835f5991c4e96e7d:

  Linux 6.3-rc5 (2023-04-02 14:29:29 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-04-05

for you to fetch changes up to dc3421560a67361442f33ec962fc6dd48895a0df:

  drm/i915: Fix context runtime accounting (2023-04-03 11:37:00 +0300)


drm/i915 fixes for v6.3-rc6:
- Fix DP MST DSC M/N calculation to use compressed bpp
- Fix racy use-after-free in perf ioctl
- Fix context runtime accounting
- Fix handling of GT reset during HuC loading
- Fix use of unsigned vm_fault_t for error values


Daniele Ceraolo Spurio (1):
  drm/i915/huc: Cancel HuC delayed load timer on reset.

Matthew Auld (1):
  drm/i915/ttm: fix sparse warning

Min Li (1):
  drm/i915: fix race condition UAF in i915_perf_add_config_ioctl

Stanislav Lisovskiy (1):
  drm/i915: Use compressed bpp when calculating m/n value for DP MST DSC

Tvrtko Ursulin (1):
  drm/i915: Fix context runtime accounting

 drivers/gpu/drm/i915/display/intel_dp_mst.c  |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c  |  5 +++--
 drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 12 ++--
 drivers/gpu/drm/i915/gt/uc/intel_huc.c   |  7 +++
 drivers/gpu/drm/i915/gt/uc/intel_huc.h   |  7 +--
 drivers/gpu/drm/i915/i915_perf.c |  6 +++---
 6 files changed, 25 insertions(+), 14 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-fixes

2023-03-30 Thread Daniel Vetter
On Thu, Mar 30, 2023 at 02:30:29PM +0300, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> drm-intel-fixes-2023-03-30:
> drm/i915 fixes for v6.3-rc5:
> - Fix PMU support by reusing functions with sysfs
> - Fix a number of issues related to color, PSR and arm/noarm
> - Fix state check related to ICL PHY ownership check in TC-cold state
> - Flush lmem contents after construction
> - Fix hibernate oops related to DPT BO
> - Fix perf stream error path wakeref balance
> 
> BR,
> Jani.
> 
> The following changes since commit 197b6b60ae7bc51dd0814953c562833143b292aa:
> 
>   Linux 6.3-rc4 (2023-03-26 14:40:20 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-30

Pulled, thanks.

> 
> for you to fetch changes up to 5c95b2d5d44fa250ce8aeee27bdb39b381d03857:
> 
>   drm/i915/perf: Drop wakeref on GuC RC error (2023-03-27 13:22:24 +0300)
> 
> 
> drm/i915 fixes for v6.3-rc5:
> - Fix PMU support by reusing functions with sysfs
> - Fix a number of issues related to color, PSR and arm/noarm
> - Fix state check related to ICL PHY ownership check in TC-cold state
> - Flush lmem contents after construction
> - Fix hibernate oops related to DPT BO
> - Fix perf stream error path wakeref balance
> 
> 
> Ashutosh Dixit (1):
>   drm/i915/pmu: Use functions common with sysfs to read actual freq
> 
> Chris Wilson (2):
>   drm/i915/gem: Flush lmem contents after construction
>   drm/i915/perf: Drop wakeref on GuC RC error
> 
> Imre Deak (1):
>   drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state
> 
> Ville Syrjälä (6):
>   drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()
>   drm/i915: Move CSC load back into .color_commit_arm() when PSR is 
> enabled on skl/glk
>   drm/i915: Add a .color_post_update() hook
>   drm/i915: Workaround ICL CSC_MODE sticky arming
>   drm/i915: Disable DC states for all commits
>   drm/i915/dpt: Treat the DPT BO as a framebuffer
> 
>  drivers/gpu/drm/i915/display/intel_color.c   | 101 
> ++-
>  drivers/gpu/drm/i915/display/intel_color.h   |   1 +
>  drivers/gpu/drm/i915/display/intel_display.c |  31 ++-
>  drivers/gpu/drm/i915/display/intel_dpt.c |   2 +
>  drivers/gpu/drm/i915/display/intel_tc.c  |   4 +-
>  drivers/gpu/drm/i915/gem/i915_gem_lmem.c |   3 +-
>  drivers/gpu/drm/i915/gem/i915_gem_object.h   |   2 +-
>  drivers/gpu/drm/i915/gem/i915_gem_object_types.h |   3 +
>  drivers/gpu/drm/i915/gt/intel_rps.c  |  38 +
>  drivers/gpu/drm/i915/gt/intel_rps.h  |   4 +-
>  drivers/gpu/drm/i915/i915_perf.c |  14 ++--
>  drivers/gpu/drm/i915/i915_perf_types.h   |   6 ++
>  drivers/gpu/drm/i915/i915_pmu.c  |  10 +--
>  13 files changed, 177 insertions(+), 42 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-fixes

2023-03-30 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2023-03-30:
drm/i915 fixes for v6.3-rc5:
- Fix PMU support by reusing functions with sysfs
- Fix a number of issues related to color, PSR and arm/noarm
- Fix state check related to ICL PHY ownership check in TC-cold state
- Flush lmem contents after construction
- Fix hibernate oops related to DPT BO
- Fix perf stream error path wakeref balance

BR,
Jani.

The following changes since commit 197b6b60ae7bc51dd0814953c562833143b292aa:

  Linux 6.3-rc4 (2023-03-26 14:40:20 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-30

for you to fetch changes up to 5c95b2d5d44fa250ce8aeee27bdb39b381d03857:

  drm/i915/perf: Drop wakeref on GuC RC error (2023-03-27 13:22:24 +0300)


drm/i915 fixes for v6.3-rc5:
- Fix PMU support by reusing functions with sysfs
- Fix a number of issues related to color, PSR and arm/noarm
- Fix state check related to ICL PHY ownership check in TC-cold state
- Flush lmem contents after construction
- Fix hibernate oops related to DPT BO
- Fix perf stream error path wakeref balance


Ashutosh Dixit (1):
  drm/i915/pmu: Use functions common with sysfs to read actual freq

Chris Wilson (2):
  drm/i915/gem: Flush lmem contents after construction
  drm/i915/perf: Drop wakeref on GuC RC error

Imre Deak (1):
  drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state

Ville Syrjälä (6):
  drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()
  drm/i915: Move CSC load back into .color_commit_arm() when PSR is enabled 
on skl/glk
  drm/i915: Add a .color_post_update() hook
  drm/i915: Workaround ICL CSC_MODE sticky arming
  drm/i915: Disable DC states for all commits
  drm/i915/dpt: Treat the DPT BO as a framebuffer

 drivers/gpu/drm/i915/display/intel_color.c   | 101 ++-
 drivers/gpu/drm/i915/display/intel_color.h   |   1 +
 drivers/gpu/drm/i915/display/intel_display.c |  31 ++-
 drivers/gpu/drm/i915/display/intel_dpt.c |   2 +
 drivers/gpu/drm/i915/display/intel_tc.c  |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_lmem.c |   3 +-
 drivers/gpu/drm/i915/gem/i915_gem_object.h   |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_object_types.h |   3 +
 drivers/gpu/drm/i915/gt/intel_rps.c  |  38 +
 drivers/gpu/drm/i915/gt/intel_rps.h  |   4 +-
 drivers/gpu/drm/i915/i915_perf.c |  14 ++--
 drivers/gpu/drm/i915/i915_perf_types.h   |   6 ++
 drivers/gpu/drm/i915/i915_pmu.c  |  10 +--
 13 files changed, 177 insertions(+), 42 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


Re: [PULL] drm-intel-fixes

2023-03-24 Thread Daniel Vetter
On Thu, Mar 23, 2023 at 12:46:27PM +0200, Jani Nikula wrote:
> 
> Hi Dave & Daniel -
> 
> Otherwise a fairly regular fixes pull, except for two things:
> 
> First, I have not gotten CI results on this. I don't know what gives.
> 
> Second, I missed adding the hwmon revert to the tag. I accidentally
> picked up the commit for the previous pull, and it shouldn't have been
> there.
> 
> 
> BR,
> Jani.
> 
> 
> 
> drm-intel-fixes-2023-03-23:
> drm/i915 fixes for v6.3-rc4:
> - Fix an MTL workaround
> - Fix fbdev obj locking before vma pin
> - Fix state inheritance tracking in initial commit
> - Fix missing GuC error capture codes
> - Fix missing debug object activation
> - Fix uc init late order relative to probe error injection
> - Fix perf limit reasons formatting
> - Fix vblank timestamp update on seamless M/N changes
> 
> BR,
> Jani.
> 
> The following changes since commit e8d018dd0257f744ca50a729e3d042cf2ec9da65:
> 
>   Linux 6.3-rc3 (2023-03-19 13:27:55 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-23

Pulled, thanks.
-Daniel

> 
> for you to fetch changes up to 22aa20e4c5dcbe6fdc480eb4fb27039b1f43217f:
> 
>   Revert "drm/i915/hwmon: Enable PL1 power limit" (2023-03-20 12:31:01 +0200)
> 
> 
> drm/i915 fixes for v6.3-rc4:
> - Fix an MTL workaround
> - Fix fbdev obj locking before vma pin
> - Fix state inheritance tracking in initial commit
> - Fix missing GuC error capture codes
> - Fix missing debug object activation
> - Fix uc init late order relative to probe error injection
> - Fix perf limit reasons formatting
> - Fix vblank timestamp update on seamless M/N changes
> 
> 
> Andrzej Hajda (1):
>   drm/i915/gt: perform uc late init after probe error injection
> 
> Ashutosh Dixit (1):
>   Revert "drm/i915/hwmon: Enable PL1 power limit"
> 
> Badal Nilawar (1):
>   drm/i915/mtl: Disable MC6 for MTL A step
> 
> John Harrison (1):
>   drm/i915/guc: Fix missing ecodes
> 
> Nirmoy Das (1):
>   drm/i915/active: Fix missing debug object activation
> 
> Radhakrishna Sripada (1):
>   drm/i915/mtl: Fix Wa_16015201720 implementation
> 
> Tejas Upadhyay (1):
>   drm/i915/fbdev: lock the fbdev obj before vma pin
> 
> Ville Syrjälä (2):
>   drm/i915: Preserve crtc_state->inherited during state clearing
>   drm/i915: Update vblank timestamping stuff on seamless M/N change
> 
> Vinay Belgaumkar (1):
>   drm/i915: Fix format for perf_limit_reasons
> 
>  drivers/gpu/drm/i915/display/intel_crtc.c  |  8 
>  drivers/gpu/drm/i915/display/intel_display.c   |  1 +
>  drivers/gpu/drm/i915/display/intel_dmc.c   | 26 -
>  drivers/gpu/drm/i915/display/intel_fbdev.c | 24 +--
>  drivers/gpu/drm/i915/gt/intel_gt.c |  4 ++--
>  drivers/gpu/drm/i915/gt/intel_gt_pm.c  | 27 
> --
>  drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c  |  2 +-
>  drivers/gpu/drm/i915/gt/intel_rc6.c|  8 
>  drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c | 22 +
>  drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c  | 13 +
>  drivers/gpu/drm/i915/i915_active.c |  3 +--
>  drivers/gpu/drm/i915/i915_hwmon.c  |  5 -
>  drivers/gpu/drm/i915/i915_reg.h| 17 +---
>  13 files changed, 88 insertions(+), 72 deletions(-)
> 
> -- 
> Jani Nikula, Intel Open Source Graphics Center

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-fixes

2023-03-23 Thread Jani Nikula


Hi Dave & Daniel -

Otherwise a fairly regular fixes pull, except for two things:

First, I have not gotten CI results on this. I don't know what gives.

Second, I missed adding the hwmon revert to the tag. I accidentally
picked up the commit for the previous pull, and it shouldn't have been
there.


BR,
Jani.



drm-intel-fixes-2023-03-23:
drm/i915 fixes for v6.3-rc4:
- Fix an MTL workaround
- Fix fbdev obj locking before vma pin
- Fix state inheritance tracking in initial commit
- Fix missing GuC error capture codes
- Fix missing debug object activation
- Fix uc init late order relative to probe error injection
- Fix perf limit reasons formatting
- Fix vblank timestamp update on seamless M/N changes

BR,
Jani.

The following changes since commit e8d018dd0257f744ca50a729e3d042cf2ec9da65:

  Linux 6.3-rc3 (2023-03-19 13:27:55 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-23

for you to fetch changes up to 22aa20e4c5dcbe6fdc480eb4fb27039b1f43217f:

  Revert "drm/i915/hwmon: Enable PL1 power limit" (2023-03-20 12:31:01 +0200)


drm/i915 fixes for v6.3-rc4:
- Fix an MTL workaround
- Fix fbdev obj locking before vma pin
- Fix state inheritance tracking in initial commit
- Fix missing GuC error capture codes
- Fix missing debug object activation
- Fix uc init late order relative to probe error injection
- Fix perf limit reasons formatting
- Fix vblank timestamp update on seamless M/N changes


Andrzej Hajda (1):
  drm/i915/gt: perform uc late init after probe error injection

Ashutosh Dixit (1):
  Revert "drm/i915/hwmon: Enable PL1 power limit"

Badal Nilawar (1):
  drm/i915/mtl: Disable MC6 for MTL A step

John Harrison (1):
  drm/i915/guc: Fix missing ecodes

Nirmoy Das (1):
  drm/i915/active: Fix missing debug object activation

Radhakrishna Sripada (1):
  drm/i915/mtl: Fix Wa_16015201720 implementation

Tejas Upadhyay (1):
  drm/i915/fbdev: lock the fbdev obj before vma pin

Ville Syrjälä (2):
  drm/i915: Preserve crtc_state->inherited during state clearing
  drm/i915: Update vblank timestamping stuff on seamless M/N change

Vinay Belgaumkar (1):
  drm/i915: Fix format for perf_limit_reasons

 drivers/gpu/drm/i915/display/intel_crtc.c  |  8 
 drivers/gpu/drm/i915/display/intel_display.c   |  1 +
 drivers/gpu/drm/i915/display/intel_dmc.c   | 26 -
 drivers/gpu/drm/i915/display/intel_fbdev.c | 24 +--
 drivers/gpu/drm/i915/gt/intel_gt.c |  4 ++--
 drivers/gpu/drm/i915/gt/intel_gt_pm.c  | 27 --
 drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c  |  2 +-
 drivers/gpu/drm/i915/gt/intel_rc6.c|  8 
 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c | 22 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c  | 13 +
 drivers/gpu/drm/i915/i915_active.c |  3 +--
 drivers/gpu/drm/i915/i915_hwmon.c  |  5 -
 drivers/gpu/drm/i915/i915_reg.h| 17 +---
 13 files changed, 88 insertions(+), 72 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2023-03-15 Thread Jani Nikula


Hi Dave & Daniel -

Missed fixes last week, so here we are early this week.


drm-intel-fixes-2023-03-15:
drm/i915 fixes for v6.3-rc3:
- Fix hwmon PL1 power limit enabling
- Fix audio ELD handling for DP MST
- Fix PSR io and wake line calculations
- Fix DG2 HDMI modes with 267.30 and 319.89 MHz pixel clocks
- Fix SSEU subslice out-of-bounds access
- Fix misuse of non-idle barriers as fence trackers

BR,
Jani.

The following changes since commit eeac8ede17557680855031c6f305ece2378af326:

  Linux 6.3-rc2 (2023-03-12 16:36:44 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-03-15

for you to fetch changes up to e0e6b416b25ee14716f3549e0cbec1011b193809:

  drm/i915/active: Fix misuse of non-idle barriers as fence trackers 
(2023-03-13 11:38:05 +0200)


drm/i915 fixes for v6.3-rc3:
- Fix hwmon PL1 power limit enabling
- Fix audio ELD handling for DP MST
- Fix PSR io and wake line calculations
- Fix DG2 HDMI modes with 267.30 and 319.89 MHz pixel clocks
- Fix SSEU subslice out-of-bounds access
- Fix misuse of non-idle barriers as fence trackers


Andrea Righi (1):
  drm/i915/sseu: fix max_subslices array-index-out-of-bounds access

Ankit Nautiyal (1):
  drm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz

Ashutosh Dixit (1):
  drm/i915/hwmon: Enable PL1 power limit

Janusz Krzysztofik (1):
  drm/i915/active: Fix misuse of non-idle barriers as fence trackers

Jouni Högander (1):
  drm/i915/psr: Use calculated io and fast wake lines

Ville Syrjälä (1):
  drm/i915: Fix audio ELD handling for DP MST

 drivers/gpu/drm/i915/display/intel_display_types.h |  2 +
 drivers/gpu/drm/i915/display/intel_dp_mst.c| 25 ---
 drivers/gpu/drm/i915/display/intel_psr.c   | 78 +-
 drivers/gpu/drm/i915/display/intel_snps_phy.c  | 62 +
 drivers/gpu/drm/i915/gt/intel_sseu.h   |  2 +-
 drivers/gpu/drm/i915/i915_active.c | 25 ---
 drivers/gpu/drm/i915/i915_hwmon.c  |  5 ++
 7 files changed, 161 insertions(+), 38 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2023-02-16 Thread Rodrigo Vivi
Hi Dave and Daniel,

Only 1 gen11 workaround fix.

Here goes drm-intel-fixes-2023-02-16:
- Moving gen11 hw wa to the right place. (Matt)

Thanks,
Rodrigo.

The following changes since commit ceaa837f96adb69c0df0397937cd74991d5d821a:

  Linux 6.2-rc8 (2023-02-12 14:10:17 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-02-16

for you to fetch changes up to d5a1224aa68c8b124a4c5c390186e571815ed390:

  drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list (2023-02-14 
16:08:48 -0500)


- Moving gen11 hw wa to the right place. (Matt)


Matt Roper (1):
  drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list

 drivers/gpu/drm/i915/gt/intel_workarounds.c | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)


[PULL] drm-intel-fixes

2023-02-09 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes our fixes for this week with a few patches targeting stable.

drm-intel-fixes-2023-02-09:
- Display watermark fix (Ville)
- fbdev fix for PSR, FBC, DRRS (Jouni)
- Move fd_install after last use of fence (Rob)
- Initialize the obj flags for shmem objects (Aravind)
- Fix VBT DSI DVO port handling (Ville)

Thanks,
Rodrigo.

The following changes since commit 4ec5183ec48656cec489c49f989c508b68b518e3:

  Linux 6.2-rc7 (2023-02-05 13:13:28 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-02-09

for you to fetch changes up to 6a7ff131f17f44c593173c5ee30e2c03ef211685:

  drm/i915: Fix VBT DSI DVO port handling (2023-02-08 08:39:44 -0500)


- Display watermark fix (Ville)
- fbdev fix for PSR, FBC, DRRS (Jouni)
- Move fd_install after last use of fence (Rob)
- Initialize the obj flags for shmem objects (Aravind)
- Fix VBT DSI DVO port handling (Ville)


Aravind Iddamsetty (1):
  drm/i915: Initialize the obj flags for shmem objects

Jouni Högander (1):
  drm/i915/fbdev: Implement fb_dirty for intel custom fb helper

Rob Clark (1):
  drm/i915: Move fd_install after last use of fence

Ville Syrjälä (2):
  drm/i915: Don't do the WM0->WM1 copy w/a if WM1 is already enabled
  drm/i915: Fix VBT DSI DVO port handling

 drivers/gpu/drm/i915/display/intel_bios.c  | 33 ++
 drivers/gpu/drm/i915/display/intel_fbdev.c | 12 ++
 drivers/gpu/drm/i915/display/skl_watermark.c   |  3 ++-
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 14 +--
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c  |  2 +-
 5 files changed, 45 insertions(+), 19 deletions(-)


[PULL] drm-intel-fixes

2023-02-02 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes this week's fixes with couple targeting stable.

drm-intel-fixes-2023-02-02:

- Fixes for potential use-after-free and double-free (Rob)
- GuC locking and refcount fixes (John)
- Display's reference clock value fix (Chaitanya)

Thanks,
Rodrigo.

The following changes since commit 6d796c50f84ca79f1722bb131799e5a5710c4700:

  Linux 6.2-rc6 (2023-01-29 13:59:43 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-02-02

for you to fetch changes up to 47a2bd9d985bfdb55900f313603619fc9234f317:

  drm/i915/adlp: Fix typo for reference clock (2023-01-30 15:48:30 -0500)


- Fixes for potential use-after-free and double-free (Rob)
- GuC locking and refcount fixes (John)
- Display's reference clock value fix (Chaitanya)


Chaitanya Kumar Borah (1):
  drm/i915/adlp: Fix typo for reference clock

John Harrison (3):
  drm/i915/guc: Fix locking when searching for a hung request
  drm/i915: Fix request ref counting during error capture & debugfs dump
  drm/i915: Fix up locking around dumping requests lists

Rob Clark (2):
  drm/i915: Avoid potential vm use-after-free
  drm/i915: Fix potential bit_17 double-free

 drivers/gpu/drm/i915/display/intel_cdclk.c |  2 +-
 drivers/gpu/drm/i915/gem/i915_gem_context.c| 14 +++-
 drivers/gpu/drm/i915/gem/i915_gem_tiling.c |  9 +--
 drivers/gpu/drm/i915/gt/intel_context.c|  4 +-
 drivers/gpu/drm/i915/gt/intel_context.h|  3 +-
 drivers/gpu/drm/i915/gt/intel_engine.h |  4 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  | 74 --
 .../gpu/drm/i915/gt/intel_execlists_submission.c   | 27 
 .../gpu/drm/i915/gt/intel_execlists_submission.h   |  4 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  | 14 +++-
 drivers/gpu/drm/i915/i915_gpu_error.c  | 33 ++
 11 files changed, 112 insertions(+), 76 deletions(-)


[PULL] drm-intel-fixes

2023-01-26 Thread Rodrigo Vivi
Hi Dave and Daniel,

nothing major or critical this round...

Here goes drm-intel-fixes-2023-01-26:

- Fix BSC default context for Meteor Lake (Lucas)
- Fix selftest-scheduler's modify_type (Andi)

Thanks,
Rodrigo.

The following changes since commit 2241ab53cbb5cdb08a6b2d4688feb13971058f65:

  Linux 6.2-rc5 (2023-01-21 16:27:01 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-01-26

for you to fetch changes up to 2255bbcdc39d5b0311968f86614ae4f25fdd465d:

  drm/i915/selftest: fix intel_selftest_modify_policy argument types 
(2023-01-23 13:45:04 -0500)


- Fix BSC default context for Meteor Lake (Lucas)
- Fix selftest-scheduler's modify_type (Andi)


Arnd Bergmann (1):
  drm/i915/selftest: fix intel_selftest_modify_policy argument types

Lucas De Marchi (1):
  drm/i915/mtl: Fix bcs default context

 drivers/gpu/drm/i915/gt/intel_lrc.c| 37 +-
 .../drm/i915/selftests/intel_scheduler_helpers.c   |  3 +-
 2 files changed, 2 insertions(+), 38 deletions(-)


[PULL] drm-intel-fixes

2023-01-19 Thread Rodrigo Vivi
Hi Dave and Daniel,

Couple patches targeting stable, couple DG2 w/a,
and a selftest fix.

There was a drm-tip conflict but very trivial where
keeping the new mtl function as in drm-intel-gt-next is
the right resolution.

Here goes drm-intel-fixes-2023-01-19:
- Reject display plane with height == 0 (Drew)
- re-disable RC6p on Sandy Bridge (Sasa)
- Fix hugepages' selftest (Chris)
- DG2 hw workarounds (Matt Atwood)

Thanks,
Rodrigo.

The following changes since commit 5dc4c995db9eb45f6373a956eb1f69460e69e6d4:

  Linux 6.2-rc4 (2023-01-15 09:22:43 -0600)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-01-19

for you to fetch changes up to afdecb232740ae40b9384fa0ac8ed799d6546516:

  drm/i915/dg2: Introduce Wa_18019271663 (2023-01-18 11:56:54 -0500)


- Reject display plane with height == 0 (Drew)
- re-disable RC6p on Sandy Bridge (Sasa)
- Fix hugepages' selftest (Chris)
- DG2 hw workarounds (Matt Atwood)


Chris Wilson (1):
  drm/i915/selftests: Unwind hugepages to drop wakeref on error

Drew Davenport (1):
  drm/i915/display: Check source height is > 0

Matt Atwood (2):
  drm/i915/dg2: Introduce Wa_18018764978
  drm/i915/dg2: Introduce Wa_18019271663

Sasa Dragic (1):
  drm/i915: re-disable RC6p on Sandy Bridge

 drivers/gpu/drm/i915/display/skl_universal_plane.c |  2 +-
 drivers/gpu/drm/i915/gem/selftests/huge_pages.c|  8 
 drivers/gpu/drm/i915/gt/intel_gt_regs.h| 10 +++---
 drivers/gpu/drm/i915/gt/intel_workarounds.c| 10 +-
 drivers/gpu/drm/i915/i915_pci.c|  3 ++-
 5 files changed, 23 insertions(+), 10 deletions(-)


[PULL] drm-intel-fixes

2023-01-12 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes this week fix.

There was only a small conflict in the multi-cast registers fix,
but that's pretty trivial. Just go with the -gt-next version if
needed on your side.

drm-intel-fixes-2023-01-12:

- Reserve enough fence slot for i915_vma_unbind_vsync (Nirmoy)
- Fix potential use after free (Rob Clark)
- Reset engines twice in case of reset failure (Chris)
- Use multi-cast registers for SVG Unit registers (Gustavo)

Thanks,
Rodrigo.

The following changes since commit b7bfaa761d760e72a969d116517eaa12e404c262:

  Linux 6.2-rc3 (2023-01-08 11:49:43 -0600)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-01-12

for you to fetch changes up to 58fc14e14d288d728bf48377b81bb77fd17bfe3f:

  drm/i915/gt: Cover rest of SVG unit MCR registers (2023-01-11 09:53:45 -0500)


- Reserve enough fence slot for i915_vma_unbind_vsync (Nirmoy)
- Fix potential use after free (Rob Clark)
- Reset engines twice in case of reset failure (Chris)
- Use multi-cast registers for SVG Unit registers (Gustavo)


Chris Wilson (1):
  drm/i915/gt: Reset twice

Gustavo Sousa (1):
  drm/i915/gt: Cover rest of SVG unit MCR registers

Nirmoy Das (1):
  drm/i915: Reserve enough fence slot for i915_vma_unbind_async

Rob Clark (1):
  drm/i915: Fix potential context UAFs

 drivers/gpu/drm/i915/gem/i915_gem_context.c | 24 +++-
 drivers/gpu/drm/i915/gt/intel_gt_regs.h |  4 ++--
 drivers/gpu/drm/i915/gt/intel_reset.c   | 34 -
 drivers/gpu/drm/i915/gt/intel_workarounds.c |  4 ++--
 drivers/gpu/drm/i915/i915_vma.c |  2 +-
 5 files changed, 51 insertions(+), 17 deletions(-)


Re: [PULL] drm-intel-fixes

2023-01-06 Thread Daniel Vetter
On Thu, Jan 05, 2023 at 03:02:20PM -0500, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> Only GVT related fixes for this round.
> 
> I have another fix queued for i915_vma_unbind_async from Nirmoy that will
> target stable 5.18, but I figured it out late so I didn't run CI on that yet.
> So I'm holding this for now. Maybe and extra PR tomorrow or it will
> wait for the next week.
> 
> Here goes drm-intel-fixes-2023-01-05:
> 
> Only gvt-fixes:
>  - debugfs fixes (Zhenyu)
>  - fix up for vgpu status (Zhi)
>  - double free fix in split_2MB_gtt_entry (Zheng)
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98:
> 
>   Linux 6.2-rc2 (2023-01-01 13:53:16 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-01-05

Pulled, thanks a lot.
-Daniel

> 
> for you to fetch changes up to 87809d3196c2a7a015ab80ca1cb8c19b659bc5f6:
> 
>   Merge tag 'gvt-fixes-2023-01-05' of https://github.com/intel/gvt-linux into 
> drm-intel-fixes (2023-01-05 08:03:38 -0500)
> 
> 
> Only gvt-fixes:
>  - debugfs fixes (Zhenyu)
>  - fix up for vgpu status (Zhi)
>  - double free fix in split_2MB_gtt_entry (Zheng)
> 
> 
> Dan Carpenter (1):
>   drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
> 
> Rodrigo Vivi (1):
>   Merge tag 'gvt-fixes-2023-01-05' of https://github.com/intel/gvt-linux 
> into drm-intel-fixes
> 
> Zheng Wang (1):
>   drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
> 
> Zhenyu Wang (2):
>   drm/i915/gvt: fix gvt debugfs destroy
>   drm/i915/gvt: fix vgpu debugfs clean in remove
> 
> Zhi Wang (1):
>   drm/i915/gvt: use atomic operations to change the vGPU status
> 
>  drivers/gpu/drm/i915/gvt/debugfs.c   | 36 
> +++-
>  drivers/gpu/drm/i915/gvt/dmabuf.c|  3 ++-
>  drivers/gpu/drm/i915/gvt/gtt.c   | 21 +++--
>  drivers/gpu/drm/i915/gvt/gvt.h   | 15 ++-
>  drivers/gpu/drm/i915/gvt/interrupt.c |  2 +-
>  drivers/gpu/drm/i915/gvt/kvmgt.c | 35 +--
>  drivers/gpu/drm/i915/gvt/scheduler.c |  4 +++-
>  drivers/gpu/drm/i915/gvt/vgpu.c  | 12 +---
>  8 files changed, 80 insertions(+), 48 deletions(-)

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-fixes

2023-01-05 Thread Rodrigo Vivi
Hi Dave and Daniel,

Only GVT related fixes for this round.

I have another fix queued for i915_vma_unbind_async from Nirmoy that will
target stable 5.18, but I figured it out late so I didn't run CI on that yet.
So I'm holding this for now. Maybe and extra PR tomorrow or it will
wait for the next week.

Here goes drm-intel-fixes-2023-01-05:

Only gvt-fixes:
 - debugfs fixes (Zhenyu)
 - fix up for vgpu status (Zhi)
 - double free fix in split_2MB_gtt_entry (Zheng)

Thanks,
Rodrigo.

The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98:

  Linux 6.2-rc2 (2023-01-01 13:53:16 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-01-05

for you to fetch changes up to 87809d3196c2a7a015ab80ca1cb8c19b659bc5f6:

  Merge tag 'gvt-fixes-2023-01-05' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2023-01-05 08:03:38 -0500)


Only gvt-fixes:
 - debugfs fixes (Zhenyu)
 - fix up for vgpu status (Zhi)
 - double free fix in split_2MB_gtt_entry (Zheng)


Dan Carpenter (1):
  drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()

Rodrigo Vivi (1):
  Merge tag 'gvt-fixes-2023-01-05' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

Zheng Wang (1):
  drm/i915/gvt: fix double free bug in split_2MB_gtt_entry

Zhenyu Wang (2):
  drm/i915/gvt: fix gvt debugfs destroy
  drm/i915/gvt: fix vgpu debugfs clean in remove

Zhi Wang (1):
  drm/i915/gvt: use atomic operations to change the vGPU status

 drivers/gpu/drm/i915/gvt/debugfs.c   | 36 +++-
 drivers/gpu/drm/i915/gvt/dmabuf.c|  3 ++-
 drivers/gpu/drm/i915/gvt/gtt.c   | 21 +++--
 drivers/gpu/drm/i915/gvt/gvt.h   | 15 ++-
 drivers/gpu/drm/i915/gvt/interrupt.c |  2 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c | 35 +--
 drivers/gpu/drm/i915/gvt/scheduler.c |  4 +++-
 drivers/gpu/drm/i915/gvt/vgpu.c  | 12 +---
 8 files changed, 80 insertions(+), 48 deletions(-)


Re: [PULL] drm-intel-fixes

2023-01-01 Thread Daniel Vetter
On Fri, Dec 30, 2022 at 04:59:38AM -0500, Rodrigo Vivi wrote:
> Hi Dave and Daniel,
> 
> Here goes the initial fixes for 6.2.
> 
> The most critical ones seems to be the evict fix from Matt and
> the MIPI DSI from Jani. Both targeting stable trees.
> 
> I'm sorry for sending this on a Friday and not on a Thursday as
> usual. Where did this week go? Worst case this wait one week
> and I get it rebased and resent earlier next week.
> 
> Where did 2022 go? Happy New Year!

Cheers to you too!

> Cheers,
> Rodrigo.
> 
> 
> drm-intel-fixes-2022-12-30:
> - fix TLB invalidation for DG2 and newer platforms. (Andrzej)
> - Remove __maybe_unused from mtl_info (Lucas)
> - improve the catch-all evict to handle lock contention (Matt Auld)
> - Fix two issues with over-size (GuC/HuC) firmware files (John)
> - Fix DSI resume issues on ICL+ (Jani)
> 
> Thanks,
> Rodrigo.
> 
> The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:
> 
>   Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-12-30

Pulled, I'll try to get it out for Linus to include it in -rc2 still.

> for you to fetch changes up to 6217e9f05a74df48c77ee68993d587cdfdb1feb7:
> 
>   drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index (2022-12-30 04:28:46 
> -0500)
> 
> 
> - fix TLB invalidation for DG2 and newer platforms. (Andrzej)
> - Remove __maybe_unused from mtl_info (Lucas)
> - improve the catch-all evict to handle lock contention (Matt Auld)

Just a quick comment, this one has

Fixes: 7e00897be8bf ("drm/i915: Add object locking to i915_gem_evict_for_node 
and i915_gem_evict_something, v2.")

but I don't think that's entirely accurate. I might mix up some details
(and today is not the day to dig these out) and it's been two years
already when I discussed this Maarten, but this issue is older. It got
introduced with the conversion to per-object locking, and then somewhat
artfully papered over with the async object pinning infrastructure (which
had the design issue of being flat out in violation of upstream locking
hierarchy).

In practice it makes no difference, because there's no way you can
backport any of this to a point before the locking rework from Maarten (or
alternatively, revert until the glorious struct_mutex days). A bit more
review on a core locking change like this would have been good though imo.

Cheers, Daniel

> - Fix two issues with over-size (GuC/HuC) firmware files (John)
> - Fix DSI resume issues on ICL+ (Jani)
> 
> 
> Andrzej Hajda (1):
>   drm/i915: fix TLB invalidation for Gen12.50 video and compute engines
> 
> Jani Nikula (2):
>   drm/i915/dsi: add support for ICL+ native MIPI GPIO sequence
>   drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index
> 
> John Harrison (1):
>   drm/i915/uc: Fix two issues with over-size firmware files
> 
> Lucas De Marchi (1):
>   drm/i915: Remove __maybe_unused from mtl_info
> 
> Matthew Auld (1):
>   drm/i915: improve the catch-all evict to handle lock contention
> 
>  drivers/gpu/drm/i915/display/intel_dsi_vbt.c| 94 
> -
>  drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c  | 59 +---
>  drivers/gpu/drm/i915/gem/i915_gem_mman.c|  2 +-
>  drivers/gpu/drm/i915/gt/intel_gt.c  |  8 ++-
>  drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c| 42 +++
>  drivers/gpu/drm/i915/i915_gem_evict.c   | 37 +++---
>  drivers/gpu/drm/i915/i915_gem_evict.h   |  4 +-
>  drivers/gpu/drm/i915/i915_irq.c |  3 +
>  drivers/gpu/drm/i915/i915_pci.c |  1 -
>  drivers/gpu/drm/i915/i915_reg.h |  1 +
>  drivers/gpu/drm/i915/i915_vma.c |  2 +-
>  drivers/gpu/drm/i915/selftests/i915_gem_evict.c |  4 +-
>  12 files changed, 212 insertions(+), 45 deletions(-)

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-intel-fixes

2022-12-30 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes the initial fixes for 6.2.

The most critical ones seems to be the evict fix from Matt and
the MIPI DSI from Jani. Both targeting stable trees.

I'm sorry for sending this on a Friday and not on a Thursday as
usual. Where did this week go? Worst case this wait one week
and I get it rebased and resent earlier next week.

Where did 2022 go? Happy New Year!

Cheers,
Rodrigo.


drm-intel-fixes-2022-12-30:
- fix TLB invalidation for DG2 and newer platforms. (Andrzej)
- Remove __maybe_unused from mtl_info (Lucas)
- improve the catch-all evict to handle lock contention (Matt Auld)
- Fix two issues with over-size (GuC/HuC) firmware files (John)
- Fix DSI resume issues on ICL+ (Jani)

Thanks,
Rodrigo.

The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

  Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-12-30

for you to fetch changes up to 6217e9f05a74df48c77ee68993d587cdfdb1feb7:

  drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index (2022-12-30 04:28:46 -0500)


- fix TLB invalidation for DG2 and newer platforms. (Andrzej)
- Remove __maybe_unused from mtl_info (Lucas)
- improve the catch-all evict to handle lock contention (Matt Auld)
- Fix two issues with over-size (GuC/HuC) firmware files (John)
- Fix DSI resume issues on ICL+ (Jani)


Andrzej Hajda (1):
  drm/i915: fix TLB invalidation for Gen12.50 video and compute engines

Jani Nikula (2):
  drm/i915/dsi: add support for ICL+ native MIPI GPIO sequence
  drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index

John Harrison (1):
  drm/i915/uc: Fix two issues with over-size firmware files

Lucas De Marchi (1):
  drm/i915: Remove __maybe_unused from mtl_info

Matthew Auld (1):
  drm/i915: improve the catch-all evict to handle lock contention

 drivers/gpu/drm/i915/display/intel_dsi_vbt.c| 94 -
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c  | 59 +---
 drivers/gpu/drm/i915/gem/i915_gem_mman.c|  2 +-
 drivers/gpu/drm/i915/gt/intel_gt.c  |  8 ++-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c| 42 +++
 drivers/gpu/drm/i915/i915_gem_evict.c   | 37 +++---
 drivers/gpu/drm/i915/i915_gem_evict.h   |  4 +-
 drivers/gpu/drm/i915/i915_irq.c |  3 +
 drivers/gpu/drm/i915/i915_pci.c |  1 -
 drivers/gpu/drm/i915/i915_reg.h |  1 +
 drivers/gpu/drm/i915/i915_vma.c |  2 +-
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c |  4 +-
 12 files changed, 212 insertions(+), 45 deletions(-)


[PULL] drm-intel-fixes

2022-12-01 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A few more small fixes for the release candidate week.

Fixes for confused return values when waiting on request retirement, which
can explode in the GuC backend, fix for reading on DRAM info data and a
fix to filter out impossible display pipes from the bigjoiner code.

Regards,

Tvrtko

drm-intel-fixes-2022-12-01:
- Fix dram info readout (Radhakrishna Sripada)
- Remove non-existent pipes from bigjoiner pipe mask (Ville Syrjälä)
- Fix negative value passed as remaining time (Janusz Krzysztofik)
- Never return 0 if not all requests retired (Janusz Krzysztofik)
The following changes since commit b7b275e60bcd5f89771e865a8239325f86d9927d:

  Linux 6.1-rc7 (2022-11-27 13:31:48 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-12-01

for you to fetch changes up to 12b8b046e4c9de40fa59b6f067d6826f4e688f68:

  drm/i915: Never return 0 if not all requests retired (2022-11-29 08:49:15 
+)


- Fix dram info readout (Radhakrishna Sripada)
- Remove non-existent pipes from bigjoiner pipe mask (Ville Syrjälä)
- Fix negative value passed as remaining time (Janusz Krzysztofik)
- Never return 0 if not all requests retired (Janusz Krzysztofik)


Janusz Krzysztofik (2):
  drm/i915: Fix negative value passed as remaining time
  drm/i915: Never return 0 if not all requests retired

Radhakrishna Sripada (1):
  drm/i915/mtl: Fix dram info readout

Ville Syrjälä (1):
  drm/i915: Remove non-existent pipes from bigjoiner pipe mask

 drivers/gpu/drm/i915/display/intel_display.c | 10 +++---
 drivers/gpu/drm/i915/gt/intel_gt.c   |  9 +++--
 drivers/gpu/drm/i915/gt/intel_gt_requests.c  |  2 +-
 drivers/gpu/drm/i915/intel_dram.c|  3 +--
 4 files changed, 16 insertions(+), 8 deletions(-)


[PULL] drm-intel-fixes

2022-11-24 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A couple of fixes for 6.1-rc. One TTM backend fix, one display warning
fixlet and a merge of two GVT patches which fix KVM reference count
handling there.

Regards,

Tvrtko

drm-intel-fixes-2022-11-24:
- Fix GVT KVM reference count handling (Sean Christopherson)
- Never purge busy TTM objects (Matthew Auld)
- Fix warn in intel_display_power_*_domain() functions (Imre Deak)
The following changes since commit eb7081409f94a9a8608593d0fb63a1aa3d6f95d8:

  Linux 6.1-rc6 (2022-11-20 16:02:16 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-11-24

for you to fetch changes up to 14af5d385878d22546914d37f13a314b14825a42:

  Merge tag 'gvt-fixes-2022-11-11' of https://github.com/intel/gvt-linux into 
drm-intel-fixes (2022-11-22 07:59:17 +)


- Fix GVT KVM reference count handling (Sean Christopherson)
- Never purge busy TTM objects (Matthew Auld)
- Fix warn in intel_display_power_*_domain() functions (Imre Deak)


Imre Deak (1):
  drm/i915: Fix warn in intel_display_power_*_domain() functions

Matthew Auld (1):
  drm/i915/ttm: never purge busy objects

Sean Christopherson (2):
  drm/i915/gvt: Get reference to KVM iff attachment to VM is successful
  drm/i915/gvt: Unconditionally put reference to KVM when detaching vGPU

Tvrtko Ursulin (1):
  Merge tag 'gvt-fixes-2022-11-11' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

 drivers/gpu/drm/i915/display/intel_display_power.c | 8 
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c| 4 
 drivers/gpu/drm/i915/gvt/kvmgt.c   | 8 +++-
 3 files changed, 11 insertions(+), 9 deletions(-)


[PULL] drm-intel-fixes

2022-11-17 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Just one fix for the release candidate window this week and that is for
a possible use-after-free on discrete platforms with small BAR.

Regards,

Tvrtko

drm-intel-fixes-2022-11-17:
- Fix uaf with lmem_userfault_list handling (Matthew Auld)
The following changes since commit 094226ad94f471a9f19e8f8e7140a09c2625abaa:

  Linux 6.1-rc5 (2022-11-13 13:12:55 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-11-17

for you to fetch changes up to 4f68332b2f89ab84285e5b6cb3d30e8b9894bef1:

  drm/i915/ttm: fix uaf with lmem_userfault_list handling (2022-11-14 09:46:06 
+)


- Fix uaf with lmem_userfault_list handling (Matthew Auld)


Matthew Auld (1):
  drm/i915/ttm: fix uaf with lmem_userfault_list handling

 drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


[PULL] drm-intel-fixes

2022-11-10 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Some more fixes for the release candidate window.

Most important are the SG table handling fix for map_dma_buf import, the
userptr probe fixup after VMA iterator conversion and then a display/mouse
stuttering fix for PSR2. Last one only relates to discrete platforms, so
still behind force probe.

Regards,

Tvrtko

drm-intel-fixes-2022-11-10:
- Fix sg_table handling in map_dma_buf (Matthew Auld)
- Send PSR update also on invalidate (Jouni Högander)
- Do not set cache_dirty for DGFX (Niranjana Vishwanathapura)
- Restore userptr probe_range behaviour (Matthew Auld)
The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc:

  Linux 6.1-rc4 (2022-11-06 15:07:11 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-11-10

for you to fetch changes up to 178e31ce82d0308a9e5f2f15bfb4493160136729:

  drm/i915/userptr: restore probe_range behaviour (2022-11-07 13:13:09 +)


- Fix sg_table handling in map_dma_buf (Matthew Auld)
- Send PSR update also on invalidate (Jouni Högander)
- Do not set cache_dirty for DGFX (Niranjana Vishwanathapura)
- Restore userptr probe_range behaviour (Matthew Auld)


Jouni Högander (1):
  drm/i915/psr: Send update also on invalidate

Matthew Auld (2):
  drm/i915/dmabuf: fix sg_table handling in map_dma_buf
  drm/i915/userptr: restore probe_range behaviour

Niranjana Vishwanathapura (1):
  drm/i915: Do not set cache_dirty for DGFX

 drivers/gpu/drm/i915/display/intel_psr.c| 5 -
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c  | 4 ++--
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c   | 4 ++--
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c | 5 +++--
 4 files changed, 11 insertions(+), 7 deletions(-)


[PULL] drm-intel-fixes

2022-11-03 Thread Tvrtko Ursulin
Hi Dave, Daniel,

A few fixes for 6.1.

On the display side fixed a race condition in accessing DKL PHY registers
(TGL+), fixed LVDS EDID fixed mode setup and fixed SDVO invalid mode
filtering. On the GEM side fix running under Xen and use DMA API directly
instead of special casing for SWIOTLB only.

drm-intel-fixes-2022-11-03:
- Add locking around DKL PHY register accesses (Imre Deak)
- Stop abusing swiotlb_max_segment (Robert Beckett)
- Filter out invalid outputs more sensibly (Ville Syrjälä)
- Setup DDC fully before output init (Ville Syrjälä)
- Simplify intel_panel_add_edid_alt_fixed_modes() (Ville Syrjälä)
- Grab mode_config.mutex during LVDS init to avoid WARNs (Ville Syrjälä)
The following changes since commit 30a0b95b1335e12efef89dd78518ed3e4a71a763:

  Linux 6.1-rc3 (2022-10-30 15:19:28 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-11-03

for you to fetch changes up to 12caf46cf4fc92b1c3884cb363ace2e12732fd2f:

  drm/i915/sdvo: Grab mode_config.mutex during LVDS init to avoid WARNs 
(2022-10-31 14:09:15 +)


- Add locking around DKL PHY register accesses (Imre Deak)
- Stop abusing swiotlb_max_segment (Robert Beckett)
- Filter out invalid outputs more sensibly (Ville Syrjälä)
- Setup DDC fully before output init (Ville Syrjälä)
- Simplify intel_panel_add_edid_alt_fixed_modes() (Ville Syrjälä)
- Grab mode_config.mutex during LVDS init to avoid WARNs (Ville Syrjälä)


Imre Deak (1):
  drm/i915/tgl+: Add locking around DKL PHY register accesses

Robert Beckett (1):
  drm/i915: stop abusing swiotlb_max_segment

Ville Syrjälä (4):
  drm/i915/sdvo: Filter out invalid outputs more sensibly
  drm/i915/sdvo: Setup DDC fully before output init
  drm/i915: Simplify intel_panel_add_edid_alt_fixed_modes()
  drm/i915/sdvo: Grab mode_config.mutex during LVDS init to avoid WARNs

 drivers/gpu/drm/i915/Makefile  |   1 +
 drivers/gpu/drm/i915/display/intel_ddi.c   |  68 ++---
 drivers/gpu/drm/i915/display/intel_display_core.h  |   8 ++
 .../drm/i915/display/intel_display_power_well.c|   7 +-
 drivers/gpu/drm/i915/display/intel_dkl_phy.c   | 109 +
 drivers/gpu/drm/i915/display/intel_dkl_phy.h   |  24 +
 drivers/gpu/drm/i915/display/intel_dp.c|   2 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c  |  59 +--
 drivers/gpu/drm/i915/display/intel_lvds.c  |   3 +-
 drivers/gpu/drm/i915/display/intel_panel.c |   4 +-
 drivers/gpu/drm/i915/display/intel_panel.h |   2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c  |  64 +++-
 drivers/gpu/drm/i915/gem/i915_gem_internal.c   |  19 +---
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c  |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c|   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c|   2 +-
 drivers/gpu/drm/i915/i915_driver.c |   1 +
 drivers/gpu/drm/i915/i915_reg.h|   3 +
 drivers/gpu/drm/i915/i915_scatterlist.h|  34 ---
 19 files changed, 277 insertions(+), 139 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dkl_phy.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dkl_phy.h


[PULL] drm-intel-fixes

2022-10-27 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Three fixes for the next release candidate: one display training fix, one
new workaround and disabling of autosuspend for DG2 until things can get
properly fixed.

Regards,

Tvrtko

drm-intel-fixes-2022-10-27-1:
- Extend Wa_1607297627 to Alderlake-P (José Roberto de Souza)
- Keep PCI autosuspend control 'on' by default on all dGPU (Anshuman Gupta)
- Reset frl trained flag before restarting FRL training (Ankit Nautiyal)
The following changes since commit 247f34f7b80357943234f93f247a1ae6b6c3a740:

  Linux 6.1-rc2 (2022-10-23 15:27:33 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-10-27-1

for you to fetch changes up to 63720a561b3c98199adf0c73e152807f15cc3b7f:

  drm/i915/dp: Reset frl trained flag before restarting FRL training 
(2022-10-24 10:14:57 +0100)


- Extend Wa_1607297627 to Alderlake-P (José Roberto de Souza)
- Keep PCI autosuspend control 'on' by default on all dGPU (Anshuman Gupta)
- Reset frl trained flag before restarting FRL training (Ankit Nautiyal)


Ankit Nautiyal (1):
  drm/i915/dp: Reset frl trained flag before restarting FRL training

Anshuman Gupta (1):
  drm/i915/dgfx: Keep PCI autosuspend control 'on' by default on all dGPU

José Roberto de Souza (1):
  drm/i915: Extend Wa_1607297627 to Alderlake-P

 drivers/gpu/drm/i915/display/intel_dp.c |  2 ++
 drivers/gpu/drm/i915/gt/intel_workarounds.c |  4 ++--
 drivers/gpu/drm/i915/intel_runtime_pm.c | 11 +--
 3 files changed, 13 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2022-09-29 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2022-09-29:

- Restrict forced preemption to the active context (Chris)
- Restrict perf_limit_reasons to the supported platforms - gen11+ (Ashutosh)

Thanks,
Rodrigo.

The following changes since commit f76349cf41451c5c42a99f18a9163377e4b364ff:

  Linux 6.0-rc7 (2022-09-25 14:01:02 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-09-29

for you to fetch changes up to 7738be973fc4e2ba22154fafd3a5d7b9666f9abf:

  drm/i915/gt: Perf_limit_reasons are only available for Gen11+ (2022-09-28 
16:39:26 -0400)


- Restrict forced preemption to the active context (Chris)
- Restrict perf_limit_reasons to the supported platforms - gen11+ (Ashutosh)


Ashutosh Dixit (1):
  drm/i915/gt: Perf_limit_reasons are only available for Gen11+

Chris Wilson (1):
  drm/i915/gt: Restrict forced preemption to the active context

 drivers/gpu/drm/i915/gt/intel_engine_types.h| 15 +++
 .../gpu/drm/i915/gt/intel_execlists_submission.c| 21 -
 drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 15 +++
 3 files changed, 46 insertions(+), 5 deletions(-)


[PULL] drm-intel-fixes

2022-09-21 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2022-09-21:

2 gem context related fixes:
- to avoid a general protection failure when using perf/OA (Chris)
- to avoid kernel warnings on driver release (Janusz)

Thanks,
Rodrigo.

The following changes since commit 521a547ced6477c54b4b0cc206000406c221b4d6:

  Linux 6.0-rc6 (2022-09-18 13:44:14 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-09-21

for you to fetch changes up to d119888b09bd567e07c6b93a07f175df88857e02:

  drm/i915/gem: Really move i915_gem_context.link under ref protection 
(2022-09-20 10:19:05 -0400)


2 gem context related fixes:
- to avoid a general protection failure when using perf/OA (Chris)
- to avoid kernel warnings on driver release (Janusz)


Chris Wilson (1):
  drm/i915/gem: Really move i915_gem_context.link under ref protection

Janusz Krzysztofik (1):
  drm/i915/gem: Flush contexts on driver release

 drivers/gpu/drm/i915/gem/i915_gem_context.c | 8 
 drivers/gpu/drm/i915/i915_gem.c | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)


[PULL] drm-intel-fixes

2022-09-15 Thread Rodrigo Vivi
Hi Dave and Daniel,

Nothing that big for this round, but a couple targeting stable.

Here goes drm-intel-fixes-2022-09-15:

- Revert a display patch around max DP source rate now
  that the proper WaEdpLinkRateDataReload is in place. (Ville)
- Fix perf limit reasons bit position. (Ashutosh)
- Fix unclaimmed mmio registers on suspend flow with GuC. (Umesh)
- A vma_move_to_active fix for a regression with video decoding. (Nirmoy)
- DP DSP fix. (Ankit)

Thanks,
Rodrigo.

The following changes since commit 80e78fcce86de0288793a0ef0f6acf37656ee4cf:

  Linux 6.0-rc5 (2022-09-11 16:22:01 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-09-15

for you to fetch changes up to 8787f6fab41380189865f5751c0f15b0c298b923:

  Revert "drm/i915/display: Re-add check for low voltage sku for max dp source 
rate" (2022-09-12 10:00:47 -0400)


- Revert a display patch around max DP source rate now
  that the proper WaEdpLinkRateDataReload is in place. (Ville)
- Fix perf limit reasons bit position. (Ashutosh)
- Fix unclaimmed mmio registers on suspend flow with GuC. (Umesh)
- A vma_move_to_active fix for a regression with video decoding. (Nirmoy)
- DP DSP fix. (Ankit)


Ankit Nautiyal (1):
  drm/i915/vdsc: Set VDSC PIC_HEIGHT before using for DP DSC

Ashutosh Dixit (1):
  drm/i915/gt: Fix perf limit reasons bit positions

Nirmoy Das (1):
  drm/i915: Set correct domains values at _i915_vma_move_to_active

Umesh Nerlige Ramappa (1):
  drm/i915/guc: Cancel GuC engine busyness worker synchronously

Ville Syrjälä (1):
  Revert "drm/i915/display: Re-add check for low voltage sku for max dp 
source rate"

 drivers/gpu/drm/i915/display/icl_dsi.c|  2 ++
 drivers/gpu/drm/i915/display/intel_dp.c   | 33 +++
 drivers/gpu/drm/i915/display/intel_vdsc.c |  1 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c |  7 -
 drivers/gpu/drm/i915/i915_reg.h   | 16 +--
 drivers/gpu/drm/i915/i915_vma.c   |  3 ++-
 6 files changed, 22 insertions(+), 40 deletions(-)


Re: [PULL] drm-intel-fixes

2022-09-12 Thread Vivi, Rodrigo
On Sun, 2022-09-11 at 19:22 +0200, Jason A. Donenfeld wrote:
> Hi Rodrigo,
> 
> On Thu, Sep 08, 2022 at 09:59:54AM -0400, Rodrigo Vivi wrote:
> > Hi Dave and Daniel,
> > 
> > A few fixes, but most targeting stable.
> > 
> > [...]
> > 
> > Ville Syrjälä (2):
> >   drm/i915: Implement WaEdpLinkRateDataReload
> 
> Don't you need to revert d5929835080a60f9119d024fa42f315913942f76 in
> order for "drm/i915: Implement WaEdpLinkRateDataReload" to actually
> be
> useful/interesting? Otherwise, what's the point?

Unfortunately there was no clear indication on the revert patch for
the tool to pick, and I hadn't followed that front myself closely.

Should 
483e3d87a37e ("Revert "drm/i915/display: Re-add check for low voltage
sku for max dp source rate"")
have a Fixes tag?

Or should dim consider all reverts as Fixes?

Anyway, I will cherry pick this to our fixes branch for propagation
this week.

Thanks for the heads up,
Rodrigo.

> 
> Regards,
> Jason



[PULL] drm-intel-fixes

2022-09-08 Thread Rodrigo Vivi
Hi Dave and Daniel,

A few fixes, but most targeting stable.

Here goes drm-intel-fixes-2022-09-08:
- Fix MIPI sequence block copy from BIOS' table. (Ville)
- Fix PCODE min freq setup when GuC's SLPC is in use. (Rodrigo)
- Implement Workaround for eDP. (Ville)
- Fix has_flat_ccs selection for DG1. (Matt)

Thanks,
Rodrigo.

The following changes since commit 7e18e42e4b280c85b76967a9106a13ca61c16179:

  Linux 6.0-rc4 (2022-09-04 13:10:01 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-09-08

for you to fetch changes up to 151e0e0fdb4d6365305598af3b9072d44e896ef0:

  drm/i915: consider HAS_FLAT_CCS() in needs_ccs_pages (2022-09-06 14:51:49 
-0400)


- Fix MIPI sequence block copy from BIOS' table. (Ville)
- Fix PCODE min freq setup when GuC's SLPC is in use. (Rodrigo)
- Implement Workaround for eDP. (Ville)
- Fix has_flat_ccs selection for DG1. (Matt)


Matthew Auld (1):
  drm/i915: consider HAS_FLAT_CCS() in needs_ccs_pages

Rodrigo Vivi (1):
  drm/i915/slpc: Let's fix the PCODE min freq table setup for SLPC

Ville Syrjälä (2):
  drm/i915/bios: Copy the whole MIPI sequence block
  drm/i915: Implement WaEdpLinkRateDataReload

 drivers/gpu/drm/i915/display/intel_bios.c  |  7 +++
 .../gpu/drm/i915/display/intel_dp_link_training.c  | 22 ++
 drivers/gpu/drm/i915/gem/i915_gem_object.c |  3 ++
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c|  2 +-
 drivers/gpu/drm/i915/gt/intel_llc.c| 19 
 drivers/gpu/drm/i915/gt/intel_rps.c| 50 ++
 drivers/gpu/drm/i915/gt/intel_rps.h|  2 +
 7 files changed, 94 insertions(+), 11 deletions(-)


[PULL] drm-intel-fixes

2022-09-01 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes drm-intel-fixes-2022-09-01:

- GVT fixes including fix for a CommetLake regression in mmio table
  and misc doc and typo fixes (Julia, Jiapeng, Colin, Alex)
- Fix CCS handling (Matt)
- Fix for guc requests after reset (Daniele)
- Display DSI related fixes (Jani)
- Display backlight related fixes (Arun, Jouni)
- Fix for a null pointer dereference (Lukasz)
- HDMI related quirk for ECS Liva Q2 with GLK graphics (Diego)
- Skip wm/ddb readout for disabled pipes (Ville)

Thanks,
Rodrigo.

The following changes since commit 1c23f9e627a7b412978b4e852793c5e3c3efc555:

  Linux 6.0-rc2 (2022-08-21 17:32:54 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-09-01

for you to fetch changes up to 0211c2a0ea600e25db3044daaeff4fe41c3ed6d9:

  drm/i915: Skip wm/ddb readout for disabled pipes (2022-08-29 10:00:54 -0400)


- GVT fixes including fix for a CommetLake regression in mmio table
  and misc doc and typo fixes (Julia, Jiapeng, Colin, Alex)
- Fix CCS handling (Matt)
- Fix for guc requests after reset (Daniele)
- Display DSI related fixes (Jani)
- Display backlight related fixes (Arun, Jouni)
- Fix for a null pointer dereference (Lukasz)
- HDMI related quirk for ECS Liva Q2 with GLK graphics (Diego)
- Skip wm/ddb readout for disabled pipes (Ville)


Alex Williamson (1):
  drm/i915/gvt: Fix Comet Lake

Arun R Murthy (1):
  drm/i915/display: avoid warnings when registering dual panel backlight

Colin Ian King (1):
  drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"

Daniele Ceraolo Spurio (1):
  drm/i915/guc: clear stalled request after a reset

Diego Santa Cruz (1):
  drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk

Jani Nikula (2):
  drm/i915/dsi: filter invalid backlight and CABC ports
  drm/i915/dsi: fix dual-link DSI backlight and CABC ports for display 11+

Jiapeng Chong (3):
  drm/i915/gvt: Fix kernel-doc
  drm/i915/gvt: Fix kernel-doc
  drm/i915/gvt: Fix kernel-doc

Jouni Högander (1):
  drm/i915/backlight: Disable pps power hook for aux based backlight

Julia Lawall (1):
  drm/i915/gvt: fix typo in comment

Matthew Auld (1):
  drm/i915/ttm: fix CCS handling

Rodrigo Vivi (1):
  Merge tag 'gvt-fixes-2022-08-22' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

Ville Syrjälä (1):
  drm/i915: Skip wm/ddb readout for disabled pipes

Łukasz Bartosik (1):
  drm/i915: fix null pointer dereference

 drivers/gpu/drm/i915/display/icl_dsi.c|  7 
 drivers/gpu/drm/i915/display/intel_backlight.c| 37 ++-
 drivers/gpu/drm/i915/display/intel_bios.c | 10 +++---
 drivers/gpu/drm/i915/display/intel_bw.c   | 16 +
 drivers/gpu/drm/i915/display/intel_dp.c   |  2 --
 drivers/gpu/drm/i915/display/intel_quirks.c   |  3 ++
 drivers/gpu/drm/i915/display/vlv_dsi.c|  7 
 drivers/gpu/drm/i915/gt/intel_migrate.c   | 44 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c |  7 
 drivers/gpu/drm/i915/gvt/aperture_gm.c|  4 +--
 drivers/gpu/drm/i915/gvt/gtt.c|  2 +-
 drivers/gpu/drm/i915/gvt/handlers.c   |  4 +--
 drivers/gpu/drm/i915/gvt/mmio_context.c   |  2 +-
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c   |  3 +-
 drivers/gpu/drm/i915/intel_pm.c   |  8 -
 15 files changed, 95 insertions(+), 61 deletions(-)


[PULL] drm-intel-fixes

2022-08-26 Thread Rodrigo Vivi
Hi Dave and Daniel,

Sorry for the delay here.
I hope we still have time for these.
But no big deal if this needs to wait until next week.

Here goes drm-intel-fixes-2022-08-26:
- GVT fixes including fix for a CommetLake regression in mmio table
  and misc doc and typo fixes
- Fix CCS handling (Matt)
- Fix for guc requests after reset (Daniele)
- Display DSI related fixes (Jani)
- Display backlight related fixes (Arun, Jouni)

Thanks,
Rodrigo.

The following changes since commit 1c23f9e627a7b412978b4e852793c5e3c3efc555:

  Linux 6.0-rc2 (2022-08-21 17:32:54 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-08-26

for you to fetch changes up to 6067c82c576af13a6b1c892b42ac4a189aced8ee:

  drm/i915/backlight: Disable pps power hook for aux based backlight 
(2022-08-23 21:27:25 -0400)


- GVT fixes including fix for a CommetLake regression in mmio table
  and misc doc and typo fixes
- Fix CCS handling (Matt)
- Fix for guc requests after reset (Daniele)
- Display DSI related fixes (Jani)
- Display backlight related fixes (Arun, Jouni)


Alex Williamson (1):
  drm/i915/gvt: Fix Comet Lake

Arun R Murthy (1):
  drm/i915/display: avoid warnings when registering dual panel backlight

Colin Ian King (1):
  drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"

Daniele Ceraolo Spurio (1):
  drm/i915/guc: clear stalled request after a reset

Jani Nikula (2):
  drm/i915/dsi: filter invalid backlight and CABC ports
  drm/i915/dsi: fix dual-link DSI backlight and CABC ports for display 11+

Jiapeng Chong (3):
  drm/i915/gvt: Fix kernel-doc
  drm/i915/gvt: Fix kernel-doc
  drm/i915/gvt: Fix kernel-doc

Jouni Högander (1):
  drm/i915/backlight: Disable pps power hook for aux based backlight

Julia Lawall (1):
  drm/i915/gvt: fix typo in comment

Matthew Auld (1):
  drm/i915/ttm: fix CCS handling

Rodrigo Vivi (1):
  Merge tag 'gvt-fixes-2022-08-22' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

 drivers/gpu/drm/i915/display/icl_dsi.c|  7 
 drivers/gpu/drm/i915/display/intel_backlight.c| 37 ++-
 drivers/gpu/drm/i915/display/intel_bios.c | 10 +++---
 drivers/gpu/drm/i915/display/intel_dp.c   |  2 --
 drivers/gpu/drm/i915/display/vlv_dsi.c|  7 
 drivers/gpu/drm/i915/gt/intel_migrate.c   | 44 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c |  7 
 drivers/gpu/drm/i915/gvt/aperture_gm.c|  4 +--
 drivers/gpu/drm/i915/gvt/gtt.c|  2 +-
 drivers/gpu/drm/i915/gvt/handlers.c   |  4 +--
 drivers/gpu/drm/i915/gvt/mmio_context.c   |  2 +-
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c   |  3 +-
 12 files changed, 76 insertions(+), 53 deletions(-)


[PULL] drm-intel-fixes

2022-07-28 Thread Tvrtko Ursulin
Hi Dave, Daniel,

Just one fix this time round to further improve reliability of resets on
execlists platforms in some edge cases.

Not sure if there is scope to do one more fixes pull before 5.19 is out so
just in case. If it doesn't get pulled we'll send it to stable after release.
 
Regards,

Tvrtko

drm-intel-fixes-2022-07-28-1:
- Further reset robustness improvements for execlists [Wa_22011802037] (Umesh 
Nerlige Ramappa)
The following changes since commit e0dccc3b76fb35bb257b4118367a883073d7390e:

  Linux 5.19-rc8 (2022-07-24 13:26:27 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-07-28-1

for you to fetch changes up to a7a47a5dfa9a9692a41764ee9ab4054f12924a42:

  drm/i915/reset: Add additional steps for Wa_22011802037 for execlist backend 
(2022-07-25 15:57:54 +0100)


- Further reset robustness improvements for execlists [Wa_22011802037] (Umesh 
Nerlige Ramappa)


Umesh Nerlige Ramappa (1):
  drm/i915/reset: Add additional steps for Wa_22011802037 for execlist 
backend

 drivers/gpu/drm/i915/gt/intel_engine.h |  2 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c  | 88 +-
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  7 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc.c |  4 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  | 81 ++--
 5 files changed, 103 insertions(+), 79 deletions(-)


[PULL] drm-intel-fixes

2022-07-20 Thread Rodrigo Vivi
Hi Dave and Daniel,

This is basically only the guc regression fix.
The other patch is just a dependency to make the
important patch to apply cleanly without conflict.

drm-intel-fixes-2022-07-20-1:
- Fix the regression caused by the lack of GuC v70.
  Let's accept the fallback to v69.

Thanks,
Rodrigo.

The following changes since commit ff6992735ade75aae3e35d16b17da1008d753d28:

  Linux 5.19-rc7 (2022-07-17 13:30:22 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-07-20-1

for you to fetch changes up to 443148858f26ee0fea6ad1b292d49d884dce92d1:

  drm/i915/guc: support v69 in parallel to v70 (2022-07-19 21:25:03 -0400)


- Fix the regression caused by the lack of GuC v70.
  Let's accept the fallback to v69.


Daniele Ceraolo Spurio (1):
  drm/i915/guc: support v69 in parallel to v70

Matthew Brost (1):
  drm/i915/guc: Support programming the EU priority in the GuC descriptor

 drivers/gpu/drm/i915/gt/intel_context_types.h  |  11 +-
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  12 +-
 drivers/gpu/drm/i915/gt/intel_lrc.h|  10 -
 drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h   |   3 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.h |   5 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h|  45 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  | 374 ++---
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c   |  56 ++-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h   |   7 +
 9 files changed, 450 insertions(+), 73 deletions(-)


Re: [Intel-gfx] [PULL] drm-intel-fixes

2022-07-17 Thread pr-tracker-bot
The pull request you sent on Sun, 17 Jul 2022 14:59:42 -0400:

> git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-07-17

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/55ea9bd666887ed4159df38d1494c204246cf2bc

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[PULL] drm-intel-fixes

2022-07-17 Thread Rodrigo Vivi
Hi Dave and Daniel (and Linus),

Our 'dim' flow has a problem with fixes of fixes getting missed.
We need to take a look on that later.

Meanwhile, please allow me to quickly propagate this fix
here upstream.

Here goes drm-intel-fixes-2022-07-17:

- Fix 32b build

Thanks,
Rodrigo.

The following changes since commit 333991c4e66b3d4b5613315f18016da80344f659:

  drm/i915/selftests: fix subtraction overflow bug (2022-07-12 18:21:58 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-07-17

for you to fetch changes up to ced7866db39fc5c59ee05e154d4abc0977a17f6b:

  drm/i915/ttm: fix 32b build (2022-07-17 14:53:47 -0400)


- Fix 32b build


Matthew Auld (1):
  drm/i915/ttm: fix 32b build

 drivers/gpu/drm/i915/gem/i915_gem_region.c |  2 ++
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c|  2 +-
 drivers/gpu/drm/i915/i915_scatterlist.c| 16 
 drivers/gpu/drm/i915/i915_scatterlist.h|  4 ++--
 drivers/gpu/drm/i915/intel_region_ttm.c|  2 +-
 drivers/gpu/drm/i915/intel_region_ttm.h|  2 +-
 6 files changed, 15 insertions(+), 13 deletions(-)


[PULL] drm-intel-fixes

2022-07-13 Thread Rodrigo Vivi
Hi Dave and Daniel,

On behalf of Jani, here goes the drm-intel-fixes targeting
5.19-rc7.

Please notice that this also includes the patches you already
pulled last week. But for some reason they are not in the
5.19-rc6 yet.

Well, we always use the official -rc as the base, but if it
gets easier for you to use the drm/drm-fixes this round just
let me know that I can force-push and generate another one
tomorrow.

But I hope the official dim flow works.

Thanks,
Rodrigo.

drm-intel-fixes-2022-07-13:
- Selftest fix (Andrzej)
- TTM fix sg_table construction (Matt Auld)
- Error return fixes (Dan)
- Fix a performance regression related to waitboost (Chri\
s)
- Fix GT resets (Chris)
- Fix a possible refcount leak in DP MST connector (Hangy\
u)
- Fix on loading guc on ADL-N (Daniele)
- Fix vm use-after-free in vma destruction (Thomas)

Thanks,
Rodrigo.

The following changes since commit 32346491ddf24599decca06190ebca03ff9de7f8:

  Linux 5.19-rc6 (2022-07-10 14:40:51 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-07-13

for you to fetch changes up to 333991c4e66b3d4b5613315f18016da80344f659:

  drm/i915/selftests: fix subtraction overflow bug (2022-07-12 18:21:58 -0400)


- Selftest fix (Andrzej)
- TTM fix sg_table construction (Matt Auld)
- Error return fixes (Dan)
- Fix a performance regression related to waitboost (Chri\
s)
- Fix GT resets (Chris)
- Fix a possible refcount leak in DP MST connector (Hangy\
u)
- Fix on loading guc on ADL-N (Daniele)
- Fix vm use-after-free in vma destruction (Thomas)


Andrzej Hajda (1):
  drm/i915/selftests: fix subtraction overflow bug

Chris Wilson (3):
  drm/i915/gt: Serialize GRDOM access between multiple engine resets
  drm/i915/gt: Serialize TLB invalidates with GT resets
  drm/i915/gem: Look for waitboosting across the whole object prior to 
individual waits

Dan Carpenter (2):
  drm/i915/gvt: IS_ERR() vs NULL bug in intel_gvt_update_reg_whitelist()
  drm/i915/selftests: fix a couple IS_ERR() vs NULL tests

Daniele Ceraolo Spurio (1):
  drm/i915/guc: ADL-N should use the same GuC FW as ADL-S

Hangyu Hua (1):
  drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()

Matthew Auld (1):
  drm/i915/ttm: fix sg_table construction

Rodrigo Vivi (1):
  Merge tag 'gvt-fixes-2022-07-11' of https://github.com/intel/gvt-linux 
into drm-intel-fixes

Thomas Hellström (1):
  drm/i915: Fix vm use-after-free in vma destruction

 drivers/gpu/drm/i915/display/intel_dp_mst.c|  1 +
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c| 11 +--
 drivers/gpu/drm/i915/gem/i915_gem_wait.c   | 34 
 drivers/gpu/drm/i915/gt/intel_gt.c | 15 -
 drivers/gpu/drm/i915/gt/intel_reset.c  | 37 --
 drivers/gpu/drm/i915/gt/selftest_lrc.c |  8 ++---
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c   |  9 ++
 drivers/gpu/drm/i915/gvt/cmd_parser.c  |  6 ++--
 drivers/gpu/drm/i915/i915_scatterlist.c| 19 ---
 drivers/gpu/drm/i915/i915_scatterlist.h|  6 ++--
 drivers/gpu/drm/i915/i915_vma.c| 12 ---
 drivers/gpu/drm/i915/intel_region_ttm.c| 10 --
 drivers/gpu/drm/i915/intel_region_ttm.h|  3 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c  |  2 +-
 .../gpu/drm/i915/selftests/intel_memory_region.c   | 21 ++--
 drivers/gpu/drm/i915/selftests/mock_region.c   |  3 +-
 16 files changed, 160 insertions(+), 37 deletions(-)


[PULL] drm-intel-fixes

2022-07-07 Thread Rodrigo Vivi
Hi Dave and Daniel,

Here goes our fixes targeting 5.19-rc6.

There will probably be a couple more important fixes coming
next week for the -rc7

drm-intel-fixes-2022-07-07:

- Fix a possible refcount leak in DP MST connector (Hangyu)
- Fix on loading guc on ADL-N (Daniele)
- Fix vm use-after-free in vma destruction (Thomas)

Thanks,
Rodrigo.

The following changes since commit 79538490fd7ade244dba400923e792519a2bdfea:

  drm/i915: tweak the ordering in cpu_write_needs_clflush (2022-06-27 18:12:10 
+0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-07-07

for you to fetch changes up to 12058077b2e963d16d2d673d46233a7f46add7c9:

  drm/i915: Fix vm use-after-free in vma destruction (2022-07-06 23:04:55 -0400)


- Fix a possible refcount leak in DP MST connector (Hangyu)
- Fix on loading guc on ADL-N (Daniele)
- Fix vm use-after-free in vma destruction (Thomas)


Daniele Ceraolo Spurio (1):
  drm/i915/guc: ADL-N should use the same GuC FW as ADL-S

Hangyu Hua (1):
  drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()

Thomas Hellström (1):
  drm/i915: Fix vm use-after-free in vma destruction

 drivers/gpu/drm/i915/display/intel_dp_mst.c |  1 +
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c|  9 +
 drivers/gpu/drm/i915/i915_vma.c | 12 
 3 files changed, 18 insertions(+), 4 deletions(-)


[PULL] drm-intel-fixes

2022-06-29 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2022-06-29:
drm/i915 fixes for v5.19-rc5:
- Fix ioctl argument error return
- Fix d3cold disable to allow PCI upstream bridge D3 transition
- Fix setting cache_dirty for dma-buf objects on discrete


Rodrigo will cover the remaining fixes until v5.19 final.


BR,
Jani.

The following changes since commit 03c765b0e3b4cb5063276b086c76f7a612856a9a:

  Linux 5.19-rc4 (2022-06-26 14:22:10 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-06-29

for you to fetch changes up to 79538490fd7ade244dba400923e792519a2bdfea:

  drm/i915: tweak the ordering in cpu_write_needs_clflush (2022-06-27 18:12:10 
+0300)


drm/i915 fixes for v5.19-rc5:
- Fix ioctl argument error return
- Fix d3cold disable to allow PCI upstream bridge D3 transition
- Fix setting cache_dirty for dma-buf objects on discrete


Anshuman Gupta (1):
  drm/i915/dgfx: Disable d3cold at gfx root port

Matthew Auld (1):
  drm/i915: tweak the ordering in cpu_write_needs_clflush

katrinzhou (1):
  drm/i915/gem: add missing else

 drivers/gpu/drm/i915/gem/i915_gem_context.c |  5 +++--
 drivers/gpu/drm/i915/gem/i915_gem_domain.c  |  6 ++---
 drivers/gpu/drm/i915/i915_driver.c  | 34 +
 3 files changed, 21 insertions(+), 24 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2022-06-22 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2022-06-22:
drm/i915 fixes for v5.19-rc4:
- Revert low voltage SKU check removal to fix display issues
- Apply PLL DCO fraction workaround for ADL-S
- Don't show engine classes not present in client fdinfo

BR,
Jani.

The following changes since commit a111daf0c53ae91e71fd2bfe7497862d14132e3e:

  Linux 5.19-rc3 (2022-06-19 15:06:47 -0500)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-06-22

for you to fetch changes up to c7b28f52f406bc89d15ca0ccbc47994f979f2fcd:

  drm/i915/display: Re-add check for low voltage sku for max dp source rate 
(2022-06-20 19:39:00 +0300)


drm/i915 fixes for v5.19-rc4:
- Revert low voltage SKU check removal to fix display issues
- Apply PLL DCO fraction workaround for ADL-S
- Don't show engine classes not present in client fdinfo


Jason A. Donenfeld (1):
  drm/i915/display: Re-add check for low voltage sku for max dp source rate

Tvrtko Ursulin (1):
  drm/i915/fdinfo: Don't show engine classes not present

Ville Syrjälä (1):
  drm/i915: Implement w/a 22010492432 for adl-s

 drivers/gpu/drm/i915/display/intel_dp.c   | 32 ---
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c |  4 ++--
 drivers/gpu/drm/i915/i915_drm_client.c|  5 +++--
 3 files changed, 34 insertions(+), 7 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2022-06-16 Thread Jani Nikula


Hi Dave & Daniel -

drm-intel-fixes-2022-06-16:
drm/i915 fixes for v5.19-rc3:
- Fix page fault on error state read
- Fix memory leaks in per-gt sysfs
- Fix multiple fence handling
- Remove accidental static from a local variable

BR,
Jani.

The following changes since commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3:

  Linux 5.19-rc2 (2022-06-12 16:11:37 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-06-16

for you to fetch changes up to 2636e008112465ca54559ac4898da5a2515e118a:

  drm/i915/uc: remove accidental static from a local variable (2022-06-13 
13:53:35 +0300)


drm/i915 fixes for v5.19-rc3:
- Fix page fault on error state read
- Fix memory leaks in per-gt sysfs
- Fix multiple fence handling
- Remove accidental static from a local variable


Alan Previn (1):
  drm/i915/reset: Fix error_state_read ptr + offset use

Ashutosh Dixit (1):
  drm/i915/gt: Fix memory leaks in per-gt sysfs

Jani Nikula (1):
  drm/i915/uc: remove accidental static from a local variable

Nirmoy Das (1):
  drm/i915: Individualize fences before adding to dma_resv obj

 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c |  3 +-
 drivers/gpu/drm/i915/gt/intel_gt.c |  1 +
 drivers/gpu/drm/i915/gt/intel_gt_sysfs.c   | 29 +++-
 drivers/gpu/drm/i915/gt/intel_gt_sysfs.h   |  6 +---
 drivers/gpu/drm/i915/gt/intel_gt_types.h   |  3 ++
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c   |  2 +-
 drivers/gpu/drm/i915/i915_sysfs.c  | 17 +++--
 drivers/gpu/drm/i915/i915_vma.c| 48 +++---
 8 files changed, 62 insertions(+), 47 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-intel-fixes

2022-05-19 Thread Joonas Lahtinen
Hi Dave & Daniel,

Here's the previous PR + additional fix for regression #5806: GPU hangs
and display artifacts on 5.18-rc3 on Intel GM45.

Was also discussed here:

https://lore.kernel.org/all/CAHk-=wj0ghsg6iw3d8ufptm9a_dvtsqrrofy9wopobbybyu...@mail.gmail.com/

Regards, Joonas

***

drm-intel-fixes-2022-05-20:

- Previous PR + fix for #5806: GPU hangs and display artifacts on 5.18-rc3 on 
Intel GM45

The following changes since commit 42226c989789d8da4af1de0c31070c96726d990c:

  Linux 5.18-rc7 (2022-05-15 18:08:58 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-05-20

for you to fetch changes up to 7b1d6924f27ba24b9e47abb9bd53d0bbc430a835:

  drm/i915: Use i915_gem_object_ggtt_pin_ww for reloc_iomap (2022-05-19 
12:49:49 +0300)


- Previous PR + fix for #5806: GPU hangs and display artifacts on 5.18-rc3 on 
Intel GM45


Anusha Srivatsa (1):
  drm/i915/dmc: Add MMIO range restrictions

Maarten Lankhorst (1):
  drm/i915: Use i915_gem_object_ggtt_pin_ww for reloc_iomap

Umesh Nerlige Ramappa (1):
  i915/guc/reset: Make __guc_reset_context aware of guilty engines

 drivers/gpu/drm/i915/display/intel_dmc.c  | 44 +++
 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c|  6 ++--
 drivers/gpu/drm/i915/gt/intel_reset.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h|  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 16 -
 drivers/gpu/drm/i915/gt/uc/intel_uc.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.h |  2 +-
 drivers/gpu/drm/i915/i915_reg.h   | 16 +
 8 files changed, 74 insertions(+), 16 deletions(-)


[PULL] drm-intel-fixes

2022-05-18 Thread Joonas Lahtinen
Hi Dave & Daniel,

Two final -fixes for v5.18.

One is to reject DMC with out-of-spec MMIO (Cc: stable) and another
to correctly mark guilty contexts on GuC reset.

Regards, Joonas

***

drm-intel-fixes-2022-05-19:

- Reject DMC firmware with out-of-spec MMIO addresses.
- Correctly mark guilty context on GuC reset

The following changes since commit 42226c989789d8da4af1de0c31070c96726d990c:

  Linux 5.18-rc7 (2022-05-15 18:08:58 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-05-19

for you to fetch changes up to 89e96d822bd51f7afe2d3e95a34099480b5c3d55:

  i915/guc/reset: Make __guc_reset_context aware of guilty engines (2022-05-16 
10:13:39 +0300)


- Reject DMC firmware with out-of-spec MMIO addresses.
- Correctly mark guilty context on GuC reset


Anusha Srivatsa (1):
  drm/i915/dmc: Add MMIO range restrictions

Umesh Nerlige Ramappa (1):
  i915/guc/reset: Make __guc_reset_context aware of guilty engines

 drivers/gpu/drm/i915/display/intel_dmc.c  | 44 +++
 drivers/gpu/drm/i915/gt/intel_reset.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h|  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 16 -
 drivers/gpu/drm/i915/gt/uc/intel_uc.c |  2 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.h |  2 +-
 drivers/gpu/drm/i915/i915_reg.h   | 16 +
 7 files changed, 72 insertions(+), 12 deletions(-)


  1   2   3   4   5   6   7   >