[Intel-gfx] [PATCH] drm/i915/selftests: Allow the module to load even if live selftests fail

2021-02-08 Thread Chris Wilson
i915.live_selftests takes 3 options: 0: do nothing -1: run selftests and prevent continuation of device probing 1: run selftests, and allow continuation of device probing Currently, we prevent the device from being loaded if the live selftests fail. This seems reasonable, since the selftests

Re: [Intel-gfx] [PATCH] kernel: Expose SYS_kcmp by default

2021-02-08 Thread Michel Dänzer
On 2021-02-05 9:53 p.m., Daniel Vetter wrote: On Fri, Feb 5, 2021 at 7:37 PM Kees Cook wrote: On Fri, Feb 05, 2021 at 04:37:52PM +, Chris Wilson wrote: Userspace has discovered the functionality offered by SYS_kcmp and has started to depend upon it. In particular, Mesa uses SYS_kcmp for o

Re: [Intel-gfx] [PATCH 05/31] drm/i915/gt: Declare when we enabled timeslicing

2021-02-08 Thread Tvrtko Ursulin
On 08/02/2021 10:52, Chris Wilson wrote: Let userspace know if they can trust timeslicing by including it as part of the I915_PARAM_HAS_SCHEDULER::I915_SCHEDULER_CAP_TIMESLICING v2: Only declare timeslicing if we can safely preempt userspace. Fixes: 8ee36e048c98 ("drm/i915/execlists: Minimali

Re: [Intel-gfx] [PATCH 1/3] i915/display/intel_dp: Read PCON DSC ENC caps only for DPCD rev >= 1.4

2021-02-08 Thread Nautiyal, Ankit K
On 2/8/2021 4:45 PM, Jani Nikula wrote: On Thu, 04 Feb 2021, Ankit Nautiyal wrote: DP-HDMI2.1 PCON has DSC encoder caps defined in registers 0x92-0x9E. Do not read the registers if DPCD rev < 1.4. Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/2868 Please use Fixes: to reference c

Re: [Intel-gfx] [PATCH 04/31] drm/i915: Move timeslicing flag to scheduler

2021-02-08 Thread Tvrtko Ursulin
On 08/02/2021 10:52, Chris Wilson wrote: Whether a scheduler chooses to implement timeslicing is up to it, and not an underlying property of the HW engine. The scheduler does depend on the HW supporting preemption. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/intel_engine.h

Re: [Intel-gfx] [PATCH v2] drm/i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10

2021-02-08 Thread Nautiyal, Ankit K
On 2/8/2021 4:43 PM, Jani Nikula wrote: On Mon, 08 Feb 2021, Ankit Nautiyal wrote: Legacy LSPCON chip from MCA and Parade is only used for platforms between GEN9 and GEN10. Fixing the HAS_LSPCON macro to reflect the same. v2: Added the missing 'drm/' to subject (Jani N). Signed-off-by: Anki

[Intel-gfx] [FYI PATCH] i915: kvmgt: the KVM mmu_lock is now an rwlock

2021-02-08 Thread Paolo Bonzini
Adjust the KVMGT page tracking callbacks. Cc: Zhenyu Wang Cc: Zhi Wang Cc: intel-gvt-...@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org Signed-off-by: Paolo Bonzini --- drivers/gpu/drm/i915/gvt/kvmgt.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/

Re: [Intel-gfx] [RFC 01/14] drm/i915/pxp: Define PXP component interface

2021-02-08 Thread Rodrigo Vivi
On Fri, Feb 05, 2021 at 06:09:12PM -0800, Daniele Ceraolo Spurio wrote: > This will be used for communication between the i915 driver and the mei > one. Defining it in a stand-alone patch to avoid circualr dependedencies > between the patches modifying the 2 drivers. > > Split out from an original

Re: [Intel-gfx] [PATCH 02/31] drm/i915: Move context revocation to scheduler

2021-02-08 Thread Tvrtko Ursulin
On 08/02/2021 10:52, Chris Wilson wrote: Centralise the means by which to remove a context from execution to the scheduler, allowing the backends to specialise as necessary. Note that without backend support, we can simplify the procedure to forcibly reset the HW to remove the context. Signed-

Re: [Intel-gfx] [PATCH 1/3] i915/display/intel_dp: Read PCON DSC ENC caps only for DPCD rev >= 1.4

2021-02-08 Thread Jani Nikula
On Thu, 04 Feb 2021, Ankit Nautiyal wrote: > DP-HDMI2.1 PCON has DSC encoder caps defined in registers 0x92-0x9E. > Do not read the registers if DPCD rev < 1.4. > > Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/2868 Please use Fixes: to reference commits that this patch fixes. Please

Re: [Intel-gfx] [RFC v3 07/10] drm/i915/dpcd_bl: Move VESA backlight enabling code closer together

2021-02-08 Thread Rodrigo Vivi
On Fri, Feb 05, 2021 at 06:45:11PM -0500, Lyude Paul wrote: > No functional changes, just move set_vesa_backlight_enable() closer to it's > only caller: intel_dp_aux_vesa_enable_backlight(). > > Signed-off-by: Lyude Paul Reviewed-by: Rodrigo Vivi > --- > .../drm/i915/display/intel_dp_aux_back

Re: [Intel-gfx] [RFC v3 06/10] drm/i915/dpcd_bl: Cache some backlight capabilities in intel_panel.backlight

2021-02-08 Thread Rodrigo Vivi
On Fri, Feb 05, 2021 at 06:45:10PM -0500, Lyude Paul wrote: > Since we're about to be moving this code into shared DRM helpers, we might > as well start to cache certain backlight capabilities that can be > determined from the EDP DPCD, and are likely to be relevant to the majority > of drivers usi

Re: [Intel-gfx] [PATCH v2] drm/i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10

2021-02-08 Thread Jani Nikula
On Mon, 08 Feb 2021, Ankit Nautiyal wrote: > Legacy LSPCON chip from MCA and Parade is only used for platforms > between GEN9 and GEN10. Fixing the HAS_LSPCON macro to reflect the same. > > v2: Added the missing 'drm/' to subject (Jani N). > > Signed-off-by: Ankit Nautiyal > Acked-by: Jani Nikula

Re: [Intel-gfx] [RFC v3 04/10] drm/i915/dpcd_bl: Handle drm_dpcd_read/write() return values correctly

2021-02-08 Thread Rodrigo Vivi
On Fri, Feb 05, 2021 at 06:45:08PM -0500, Lyude Paul wrote: > This is kind of an annoying aspect of DRM's DP helpers: > drm_dp_dpcd_readb/writeb() return the size of bytes read/written on > success, thus we want to check against that instead of checking if the > return value is less than 0. > > I'

Re: [Intel-gfx] [PATCH] i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10

2021-02-08 Thread Jani Nikula
On Mon, 08 Feb 2021, Jani Nikula wrote: > Subject prefix: drm/i915: > > On Mon, 08 Feb 2021, Ankit Nautiyal wrote: >> Legacy LSPCON chip from MCA and Parade is only used for platforms >> between GEN9 and GEN10. Fixing the HAS_LSPCON macro to reflect the same. >> >> Signed-off-by: Ankit Nautiyal

[Intel-gfx] [PATCH] drm/i915/gvt/kvmgt: Fix the build failure in kvmgt.

2021-02-08 Thread Yu Zhang
Previously, commit 531810caa9f4 ("KVM: x86/mmu: Use an rwlock for the x86 MMU") replaced KVM's mmu_lock with type rwlock_t. This will cause a build failure in kvmgt, which uses the same lock when trying to add/ remove some GFNs to/from the page tracker. Fix it with write_lock/unlocks in kvmgt. Rep

[Intel-gfx] [PATCH v2] drm/i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10

2021-02-08 Thread Ankit Nautiyal
Legacy LSPCON chip from MCA and Parade is only used for platforms between GEN9 and GEN10. Fixing the HAS_LSPCON macro to reflect the same. v2: Added the missing 'drm/' to subject (Jani N). Signed-off-by: Ankit Nautiyal Acked-by: Jani Nikula --- drivers/gpu/drm/i915/i915_drv.h | 2 +- 1 file ch

[Intel-gfx] [PATCH v2] drm/i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10

2021-02-08 Thread Ankit Nautiyal
Legacy LSPCON chip from MCA and Parade is only used for platforms between GEN9 and GEN10. Fixing the HAS_LSPCON macro to reflect the same. v2: Fixed the prefix to append drm (Jani N). Signed-off-by: Ankit Nautiyal Acked-by: Jani Nikula --- drivers/gpu/drm/i915/i915_drv.h | 2 +- 1 file changed

[Intel-gfx] [PATCH 14/31] drm/i915: Move saturated workload detection back to the context

2021-02-08 Thread Chris Wilson
When we introduced the saturated workload detection to tell us to back off from semaphore usage [semaphores have a noticeable impact on contended bus cycles with the CPU for some heavy workloads], we first introduced it as a per-context tracker. This allows individual contexts to try and optimise t

[Intel-gfx] [PATCH 03/31] drm/i915: Introduce the scheduling mode

2021-02-08 Thread Chris Wilson
Start extracting the scheduling flags from the engine. We begin with its own existence by declaring whether or not the scheduler supports any task reordering. This information can then be passed directly to the user (using the SCHEDULER_CAPS) without having to infer in the user interface. Signed-o

[Intel-gfx] [PATCH 10/31] drm/i915: Fair low-latency scheduling

2021-02-08 Thread Chris Wilson
The first "scheduler" was a topographical sorting of requests into priority order. The execution order was deterministic, the earliest submitted, highest priority request would be executed first. Priority inheritance ensured that inversions were kept at bay, and allowed us to dynamically boost prio

[Intel-gfx] [PATCH 15/31] drm/i915: Bump default timeslicing quantum to 5ms

2021-02-08 Thread Chris Wilson
Primarily to smooth over differences with the guc backend that struggles with smaller quanta, bump the default timeslicing to 5ms from 1ms. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/Kconfig.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i91

[Intel-gfx] [PATCH 11/31] drm/i915/gt: Specify a deadline for the heartbeat

2021-02-08 Thread Chris Wilson
As we know when we expect the heartbeat to be checked for completion, pass this information along as its deadline. We still do not complain if the deadline is missed, at least until we have tried a few times, but it will allow for quicker hang detection on systems where deadlines are adhered to. S

[Intel-gfx] [PATCH 02/31] drm/i915: Move context revocation to scheduler

2021-02-08 Thread Chris Wilson
Centralise the means by which to remove a context from execution to the scheduler, allowing the backends to specialise as necessary. Note that without backend support, we can simplify the procedure to forcibly reset the HW to remove the context. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i9

[Intel-gfx] [PATCH 13/31] drm/i915/gt: Support virtual engine queues

2021-02-08 Thread Chris Wilson
Allow multiple requests to be queued unto a virtual engine, whereas before we only allowed a single request to be queued at a time. The advantage of keeping just one request in the queue was to ensure that we always decided late which engine to use. However, with the introduction of the virtual dea

[Intel-gfx] [PATCH 25/31] drm/i915/gt: Support creation of 'internal' rings

2021-02-08 Thread Chris Wilson
To support legacy ring buffer scheduling, we want a virtual ringbuffer for each client. These rings are purely for holding the requests as they are being constructed on the CPU and never accessed by the GPU, so they should not be bound into the GGTT, and we can use plain old WB mapped pages. As th

[Intel-gfx] [PATCH 23/31] drm/i915/gt: Use ppHWSP for unshared non-semaphore related timelines

2021-02-08 Thread Chris Wilson
When we are not using semaphores with a context/engine, we can simply reuse the same seqno location across wraps, but we still require each timeline to have its own address. For LRC submission, each context is prefixed by a per-process HWSP, which provides us with a unique location for each context

[Intel-gfx] [PATCH 12/31] drm/i915: Extend the priority boosting for the display with a deadline

2021-02-08 Thread Chris Wilson
For a modeset/pageflip, there is a very precise deadline by which the frame must be completed in order to hit the vblank and be shown. While we don't pass along that exact information, we can at least inform the scheduler that this request-chain needs to be completed asap. Signed-off-by: Chris Wil

[Intel-gfx] [PATCH 09/31] drm/i915: Replace priolist rbtree with a skiplist

2021-02-08 Thread Chris Wilson
Replace the priolist rbtree with a skiplist. The crucial difference is that walking and removing the first element of a skiplist is O(1), but O(lgN) for an rbtree, as we need to rebalance on remove. This is a hindrance for submission latency as it occurs between picking a request for the priolist a

[Intel-gfx] [PATCH 06/31] drm/i915: Move busywaiting control to the scheduler

2021-02-08 Thread Chris Wilson
Busy-waiting is used for preempt-to-busy by schedulers, if they so choose. Since it is not a property of the engine, but that of the submission backend, move the flag from out of the engine to i915_sched_engine. Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt

[Intel-gfx] [PATCH 05/31] drm/i915/gt: Declare when we enabled timeslicing

2021-02-08 Thread Chris Wilson
Let userspace know if they can trust timeslicing by including it as part of the I915_PARAM_HAS_SCHEDULER::I915_SCHEDULER_CAP_TIMESLICING v2: Only declare timeslicing if we can safely preempt userspace. Fixes: 8ee36e048c98 ("drm/i915/execlists: Minimalistic timeslicing") Signed-off-by: Chris Wilso

[Intel-gfx] [PATCH 21/31] drm/i915/gt: Use indices for writing into relative timelines

2021-02-08 Thread Chris Wilson
Relative timelines are relative to either the global or per-process HWSP, and so we can replace the absolute addressing with store-index variants for position invariance. Signed-off-by: Chris Wilson Reviewed-by: Matthew Brost --- drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 98 +--

[Intel-gfx] [PATCH 31/31] drm/i915/gt: Limit C-states while waiting for requests

2021-02-08 Thread Chris Wilson
Allow the sysadmin to specify whether we should prevent the CPU from entering higher C-states while waiting for the CPU, in order to reduce the latency of request completions and so speed up client continuations. The target dma latency can be adjusted per-engine using, /sys/class/drm/card

[Intel-gfx] [PATCH 08/31] drm/i915: Fix the iterative dfs for defering requests

2021-02-08 Thread Chris Wilson
The current implementation of walking the children of a deferred requests lacks the backtracking required to reduce the dfs to linear. Having pulled it from execlists into the common layer, we can reuse the dfs code for priority inheritance. Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin

[Intel-gfx] [PATCH 01/31] drm/i915/gt: Ratelimit heartbeat completion probing

2021-02-08 Thread Chris Wilson
The heartbeat runs through a few phases that we expect to complete within a certain number of heartbeat intervals. First we must submit the heartbeat to the queue, and if the queue is occupied it may take a couple of intervals before the heartbeat preempts the workload and is submitted to HW. Once

[Intel-gfx] [PATCH 04/31] drm/i915: Move timeslicing flag to scheduler

2021-02-08 Thread Chris Wilson
Whether a scheduler chooses to implement timeslicing is up to it, and not an underlying property of the HW engine. The scheduler does depend on the HW supporting preemption. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/intel_engine.h | 6 ++ drivers/gpu/drm/i915/gt/inte

[Intel-gfx] [PATCH 22/31] drm/i915/selftests: Exercise relative timeline modes

2021-02-08 Thread Chris Wilson
A quick test to verify that the backend accepts each type of timeline and can use them to track and control request emission. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/selftest_timeline.c | 105 1 file changed, 105 insertions(+) diff --git a/drivers/gpu/drm/i9

[Intel-gfx] [PATCH 16/31] drm/i915/gt: Delay taking irqoff for execlists submission

2021-02-08 Thread Chris Wilson
Before we take the irqsafe spinlock to dequeue requests and submit them to HW, first do the check whether we need to take any action (i.e. whether the HW is ready for some work, or if we need to preempt the currently executing context) without taking the lock. We will then likely skip taking the sp

[Intel-gfx] [PATCH 24/31] Restore "drm/i915: drop engine_pin/unpin_breadcrumbs_irq"

2021-02-08 Thread Chris Wilson
This was removed in commit 478ffad6d690 ("drm/i915: drop engine_pin/unpin_breadcrumbs_irq") as the last user had been removed, but now there is a promise of a new user in the next patch. Signed-off-by: Chris Wilson Reviewed-by: Mika Kuoppala --- drivers/gpu/drm/i915/gt/intel_breadcrumbs.c | 24

[Intel-gfx] [PATCH 27/31] drm/i915/gt: Infrastructure for ring scheduling

2021-02-08 Thread Chris Wilson
Build a bare bones scheduler to sit on top the global legacy ringbuffer submission. This virtual execlists scheme should be applicable to all older platforms. A key problem we have with the legacy ring buffer submission is that it only allows for FIFO queuing. All clients share the global request

[Intel-gfx] [PATCH 28/31] drm/i915/gt: Implement ring scheduler for gen4-7

2021-02-08 Thread Chris Wilson
A key prolem with legacy ring buffer submission is that it is an inheret FIFO queue across all clients; if one blocks, they all block. A scheduler allows us to avoid that limitation, and ensures that all clients can submit in parallel, removing the resource contention of the global ringbuffer. Hav

[Intel-gfx] [PATCH 29/31] drm/i915/gt: Enable ring scheduling for gen5-7

2021-02-08 Thread Chris Wilson
Switch over from FIFO global submission to the priority-sorted topographical scheduler. At the cost of more busy work on the CPU to keep the GPU supplied with the next packet of requests, this allows us to reorder requests around submission stalls and so allow low latency under load while maintaini

[Intel-gfx] [PATCH 17/31] drm/i915/gt: Convert the legacy ring submission to use the scheduling interface

2021-02-08 Thread Chris Wilson
Adapt the old legacy ring submission to use a passthrough tasklet so that we can plug it into the scheduler. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/intel_engine_types.h | 1 + .../gpu/drm/i915/gt/intel_ring_submission.c | 167 +++--- 2 files changed, 107 inserti

[Intel-gfx] [PATCH 26/31] drm/i915/gt: Use client timeline address for seqno writes

2021-02-08 Thread Chris Wilson
If we allow for per-client timelines, even with legacy ring submission, we open the door to a world full of possiblities [scheduling and semaphores]. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/gen2_engine_cs.c | 72 ++- drivers/gpu/drm/i915/gt/gen2_engine_cs.h

[Intel-gfx] [PATCH 30/31] drm/i915: Support secure dispatch on gen6/gen7

2021-02-08 Thread Chris Wilson
Re-enable secure dispatch for gen6/gen7, primarily to workaround the command parser and overly zealous command validation on Haswell. For example this prevents making accurate measurements using a journal for store results from the GPU without CPU intervention. Signed-off-by: Chris Wilson --- dr

[Intel-gfx] [PATCH 07/31] drm/i915: Move preempt-reset flag to the scheduler

2021-02-08 Thread Chris Wilson
While the HW may support preemption, whether or not the scheduler enforces preemption by forcibly resetting the current context is ultimately up to the scheduler. Signed-off-by: Chris Wilson Reviewed-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_engine.h | 7 ++- driver

[Intel-gfx] [PATCH 20/31] drm/i915/gt: Add timeline "mode"

2021-02-08 Thread Chris Wilson
Explicitly differentiate between the absolute and relative timelines, and the global HWSP and ppHWSP relative offsets. When using a timeline that is relative to a known status page, we can replace the absolute addressing in the commands with indexed variants. Signed-off-by: Chris Wilson Reviewed-

[Intel-gfx] [PATCH 18/31] drm/i915/gt: Wrap intel_timeline.has_initial_breadcrumb

2021-02-08 Thread Chris Wilson
In preparation for removing the has_initial_breadcrumb field, add a helper function for the existing callers. Signed-off-by: Chris Wilson Reviewed-by: Mika Kuoppala --- drivers/gpu/drm/i915/gt/gen8_engine_cs.c| 2 +- drivers/gpu/drm/i915/gt/intel_ring_submission.c | 4 ++-- drivers/gpu/

[Intel-gfx] [PATCH 19/31] drm/i915/gt: Track timeline GGTT offset separately from subpage offset

2021-02-08 Thread Chris Wilson
Currently we know that the timeline status page is at most a page in size, and so we can preserve the lower 12bits of the offset when relocating the status page in the GGTT. If we want to use a larger object, such as the context state, we may not necessarily use a position within the first page and

Re: [Intel-gfx] [PATCH v3] kcmp: Support selection of SYS_kcmp without CHECKPOINT_RESTORE

2021-02-08 Thread Cyrill Gorcunov
On Fri, Feb 05, 2021 at 10:00:12PM +, Chris Wilson wrote: > Userspace has discovered the functionality offered by SYS_kcmp and has > started to depend upon it. In particular, Mesa uses SYS_kcmp for > os_same_file_description() in order to identify when two fd (e.g. device > or dmabuf) point to

Re: [Intel-gfx] [PATCH] i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10

2021-02-08 Thread Jani Nikula
Subject prefix: drm/i915: On Mon, 08 Feb 2021, Ankit Nautiyal wrote: > Legacy LSPCON chip from MCA and Parade is only used for platforms > between GEN9 and GEN10. Fixing the HAS_LSPCON macro to reflect the same. > > Signed-off-by: Ankit Nautiyal I cringe at the VBT having the bit set anyway,

Re: [Intel-gfx] [PATCH v12 8/8] drm/i915: move ddi pll state get to dpll mgr

2021-02-08 Thread Jani Nikula
On Fri, 05 Feb 2021, Ville Syrjälä wrote: > Temptation turned into code. I think I have a decent way forward > with this idea on top of my other refactorings, so I'd just drop > this patch. Thanks for the patches and review and perseverance! Finally pushed everything except this patch, and nothin

Re: [Intel-gfx] [PATCH] drm/vblank: Avoid storing a timestamp for the same frame twice

2021-02-08 Thread Daniel Vetter
On Fri, Feb 05, 2021 at 11:19:19PM +0200, Ville Syrjälä wrote: > On Fri, Feb 05, 2021 at 06:24:08PM +0200, Ville Syrjälä wrote: > > On Fri, Feb 05, 2021 at 04:46:27PM +0100, Daniel Vetter wrote: > > > On Thu, Feb 04, 2021 at 05:55:28PM +0200, Ville Syrjälä wrote: > > > > On Thu, Feb 04, 2021 at 04:

[Intel-gfx] ✓ Fi.CI.BAT: success for vfio/pci: Add support for opregion v2.0+ (rev3)

2021-02-08 Thread Patchwork
== Series Details == Series: vfio/pci: Add support for opregion v2.0+ (rev3) URL : https://patchwork.freedesktop.org/series/84494/ State : success == Summary == CI Bug Log - changes from CI_DRM_9745 -> Patchwork_19625 Summary --- **S

[Intel-gfx] ✓ Fi.CI.IGT: success for i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10

2021-02-08 Thread Patchwork
== Series Details == Series: i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10 URL : https://patchwork.freedesktop.org/series/86832/ State : success == Summary == CI Bug Log - changes from CI_DRM_9745_full -> Patchwork_19624_full ==

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for vfio/pci: Add support for opregion v2.0+ (rev3)

2021-02-08 Thread Patchwork
== Series Details == Series: vfio/pci: Add support for opregion v2.0+ (rev3) URL : https://patchwork.freedesktop.org/series/84494/ State : warning == Summary == $ dim checkpatch origin/drm-tip cdc32418f054 vfio/pci: Add support for opregion v2.1+ -:72: CHECK:PARENTHESIS_ALIGNMENT: Alignment sh

[Intel-gfx] [PATCH v3] vfio/pci: Add support for opregion v2.1+

2021-02-08 Thread Fred Gao
Before opregion version 2.0 VBT data is stored in opregion mailbox #4, However, When VBT data exceeds 6KB size and cannot be within mailbox #4 starting from opregion v2.0+, Extended VBT region, next to opregion, is used to hold the VBT data, so the total size will be opregion size plus extended VBT

Re: [Intel-gfx] [RFC v3 10/10] drm/dp: Extract i915's eDP backlight code into DRM helpers

2021-02-08 Thread Thomas Zimmermann
Hi Am 06.02.21 um 00:45 schrieb Lyude Paul: Since we're about to implement eDP backlight support in nouveau using the standard protocol from VESA, we might as well just take the code that's already written for this and move it into a set of shared DRM helpers. Note that these helpers are intend

[Intel-gfx] ✓ Fi.CI.BAT: success for i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10

2021-02-08 Thread Patchwork
== Series Details == Series: i915: Fix HAS_LSPCON macro for platforms between GEN9 and GEN10 URL : https://patchwork.freedesktop.org/series/86832/ State : success == Summary == CI Bug Log - changes from CI_DRM_9745 -> Patchwork_19624 Summar

<    1   2