~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel:drm-intel-next

Last commit made on 2023-11-17
Get this branch:
git clone -b drm-intel-next https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mirror-drm-intel
Members of Ubuntu Kernel Test can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

f70a68b... by Jani Nikula <email address hidden>

drm/i915: convert vlv_dpio_read()/write() from pipe to phy

vlv_dpio_read() and vlv_dpio_write() really operate on the phy, not
pipe. Passing the pipe instead of the phy as parameter is supposed to be
a convenience, but when the caller has the phy, it becomes an
inconvenience. See e.g. chv_dpio_cmn_power_well_enable() and
assert_chv_phy_powergate().

Figure out the phy in the callers, and pass phy to the dpio functions.

v2: retract one overzealous pipe->phy change (Ville)

Reviewed-by: Ville Syrjälä <email address hidden>
Signed-off-by: Jani Nikula <email address hidden>
Link: https://patchwork.<email address hidden>

9fda18c... by Jani Nikula <email address hidden>

drm/i915: add vlv_pipe_to_phy() helper to replace DPIO_PHY()

Add a helper with better typing and handing for bogus input, and better
in line with vlv_dig_port_to_channel(), vlv_dig_port_to_phy(), and
vlv_pipe_to_channel().

Reviewed-by: Ville Syrjälä <email address hidden>
Signed-off-by: Jani Nikula <email address hidden>
Link: https://patchwork.<email address hidden>

9d69533... by Jani Nikula <email address hidden>

drm/i915: move *_crtc_clock_get() to intel_dpll.c

Considering what the functions do, intel_dpll.c is a more suitable
location, and lets us make some functions static while at it.

This also means intel_display.c no longer does any DPIO access.

Reviewed-by: Ville Syrjälä <email address hidden>
Signed-off-by: Jani Nikula <email address hidden>
Link: https://patchwork.<email address hidden>

9a626c1... by Jani Nikula <email address hidden>

drm/i915/display: keep struct intel_display members sorted

Like the comment says,

 /* Grouping using anonymous structs. Keep sorted. */

Stick to it.

Signed-off-by: Jani Nikula <email address hidden>
Reviewed-by: Rodrigo Vivi <email address hidden>
Link: https://patchwork<email address hidden>

98ed369... by Animesh Manna <email address hidden>

drm/i915/dsb: DSB code refactoring

Refactor DSB implementation to be compatible with Xe driver.

v1: RFC version.
v2: Make intel_dsb structure opaque from external usage. [Jani]
v3: Rebased on latest.
v4:
- Add boundary check in dsb_buffer_memset(). [Luca]
- Use size_t instead of u32. [Luca]
v5: WARN_ON() added for out of boudary case with some optimization. [Luca]
v6: Rebased on latest and fix a rebase-miss.

Cc: Jani Nikula <email address hidden>
Reviewed-by: Luca Coelho <email address hidden>
Signed-off-by: Animesh Manna <email address hidden>
Link: https://patchwork.freedesktop<email address hidden>

7c8601a... by Imre Deak <email address hidden>

drm/i915: Fix fractional bpp handling in intel_link_bw_reduce_bpp()

Convert crtc_state->pipe_bpp to U6.4 format as expected by the rest of
the function.

Fixes: 59a266f068b4 ("drm/i915/display: Store compressed bpp in U6.4 format")
Cc: Ankit Nautiyal <email address hidden>
Cc: Suraj Kandpal <email address hidden>
Cc: Sui Jingfeng <email address hidden>
Reviewed-by: Ankit Nautiyal <email address hidden>
Signed-off-by: Imre Deak <email address hidden>
Link: https://patchwork<email address hidden>

ef75c25... by Animesh Manna <email address hidden>

drm/i915/panelreplay: Debugfs support for panel replay

Add debugfs support which will print source and sink status
per connector basis. Existing i915_psr_status and
i915_psr_sink_status will be used to get the source and
sink status of panel replay.

v1: Initial version. [rb-ed by Arun]
v2: Added check for DP 2.0 and connector type in connector_debugfs_add().
v3: Optimization and cosmetic changes. [Jouni]

Cc: Jouni Högander <email address hidden>
Cc: Arun R Murthy <email address hidden>
Cc: Jani Nikula <email address hidden>
Reviewed-by: Arun R Murthy <email address hidden>
Signed-off-by: Animesh Manna <email address hidden>
Reviewed-by: Jouni Högander <email address hidden>
Link: https://patchwork.freedesktop<email address hidden>

8a4353d... by Vinod Govindapillai <email address hidden>

drm/i915/xe2lpd: implement WA for underruns while enabling FBC

FIFO underruns are observed when FBC is enabled on plane 2 or
plane 3. Recommended WA is to update the FBC enabling sequence.
The plane binding register bits need to be updated separately
before programming the FBC enable bit.

Bspec: 74151
Reviewed-by: Mika Kahola <email address hidden> #v3
Signed-off-by: Vinod Govindapillai <email address hidden>
Reviewed-by: Mika Kahola <email address hidden>
Signed-off-by: Mika Kahola <email address hidden>
Link: https://patchwork.freedesktop<email address hidden>

dd99d5b... by Imre Deak <email address hidden>

drm/i915/dp: Tune down FEC detection timeout error message

At least a Realtek DP branch device with the

OUI 00-e0-4c dev-ID Dp1.4 HW-rev 1.0 SW-rev 131.1

device identification doesn't report detecting the FEC decoding start
symbol. Tune down the corresponding error to a debug message.

Reviewed-by: Jani Nikula <email address hidden>
Signed-off-by: Imre Deak <email address hidden>
Link: https://patchwork<email address hidden>

a6865fe... by Mika Kahola <email address hidden>

drm/i915/display: Use int for entry setup frames

At least one TGL had regression when using u8 types
for entry setup frames calculation. So, let's switch
to use ints instead.

intel_psr_entry_setup_frames() function expects
to return u8 but since in case of error the error
code -ETIME is returned. This doesn't fit into u8
and hence the return value is not as expected.

Fixes: 2b981d57e480 ("drm/i915/display: Support PSR entry VSC packet to be transmitted one frame earlier")
Signed-off-by: Mika Kahola <email address hidden>
Reviewed-by: Jouni Högander <email address hidden>
Link: https://patchwork<email address hidden>