~anthonywong/ubuntu/+source/linux-intel/+git/focal:gfx

Last commit made on 2021-09-30
Get this branch:
git clone -b gfx https://git.launchpad.net/~anthonywong/ubuntu/+source/linux-intel/+git/focal
Only Anthony Wong can upload to this branch. If you are Anthony Wong please log in for upload directions.

Branch merges

Branch information

Recent commits

4e09d44... by Chris Wilson

drm/i915/gt: Restrict the GT clock override to just Icelake

BugLink: https://bugs.launchpad.net/bugs/1945462

It appears that Elkhart Lake uses the same clock for CTX_TIMESTAMP as
CS_TIMESTAMP, leaving Icelake as the odd one out.

This patch was originated from
https://patchwork.freedesktop.org/patch/416618/?series=86446

Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>

9eec693... by =?utf-8?q?Jos=C3=A9_Roberto_de_Souza?= <email address hidden>

drm/i915: Implement Wa_1508744258

BugLink: https://bugs.launchpad.net/bugs/1945462

Same bit was required for Wa_14012131227 in DG1 now it is also
required as Wa_1508744258 to TGL, RKL, DG1, ADL-S and ADL-P.

Cc: Gwan-gyeong Mun <email address hidden>
Reviewed-by: Matt Roper <email address hidden>
Signed-off-by: José Roberto de Souza <email address hidden>
Link: https://patchwork<email address hidden>
(cherry picked from commit 28ec02c9cbebf3feeaf21a59df9dfbc02bda3362)
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>

182d09c... by Caz Yokoyama <caz.yokoyama@@intel.com>

drm/i915: Wa_14010826681 does the same as Wa_22010271021

BugLink: https://bugs.launchpad.net/bugs/1945462

Add a comment marking Wa_14010826681 as the same as Wa_22010271021
for easy verification.

Bspec: 54508, 52890

This patch was originated from
https://<email address hidden>/msg253681.html

Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>

df3c9e7... by =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= <email address hidden>

drm/i915: Clean up jsl/ehl buf trans functions

BugLink: https://bugs.launchpad.net/bugs/1945462

The jsl/ehl buf trans functions are needlessly complicated.
Simplify them.

Signed-off-by: Ville Syrjälä <email address hidden>
Link: https://patchwork.<email address hidden>
Reviewed-by: Jani Nikula <email address hidden>
(cherry picked from commit 2b3bc165d0554f29263fef7c4a09debb6308f4b8)
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>

2cb95d9... by =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= <email address hidden>

drm/i915: Deduplicate icl DP HBR2 vs. eDP HBR3 table

BugLink: https://bugs.launchpad.net/bugs/1945462

The icl combo phy DP HBR2 is identical to the eDP HBR3 table.
Get rid of one redundant copy.

Signed-off-by: Ville Syrjälä <email address hidden>
Link: https://patchwork.<email address hidden>
Reviewed-by: Jani Nikula <email address hidden>
(cherry picked from commit 8b95b28047da740484acd8098d2a0ea1ca3bf1ef)
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>

11bff8d... by =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= <email address hidden>

drm/i915: Fix dg1 buf trans tables

BugLink: https://bugs.launchpad.net/bugs/1945462

For some reason the dg1 buf trans tables have been stuffed into
icl_get_combo_buf_trans_edp() which doesn't even get called
on dg1. Split them out into a proper dg1 specific function,
and also make sure we use the proper buf trans tables for
DP as well as eDP.

v2: Add the hobl stuff

Reviewed-by: Jani Nikula <email address hidden>
Signed-off-by: Ville Syrjälä <email address hidden>
Link: https://patchwork.<email address hidden>
(cherry picked from commit 5aca4881f3f468475d91e0ed625da11111bfeb22)
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>

5e7bcff... by =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= <email address hidden>

drm/i915: Introduce rkl_get_combo_buf_trans()

BugLink: https://bugs.launchpad.net/bugs/1945462

Give RKL its own get_buf_trans() func.

v2: Drop the FIXME since the spec was clarified to
    indicate that TGL values are used for the HDMI/eDP cases.

Reviewed-by: Jani Nikula <email address hidden>
Signed-off-by: Ville Syrjälä <email address hidden>
Link: https://patchwork.<email address hidden>
(cherry picked from commit 299d49542c11ca998725b2ae9bc73f2ec0fef596)
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>

7a461e7... by =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= <email address hidden>

drm/i915: Clean up hsw/bdw/skl/kbl buf trans funcs

BugLink: https://bugs.launchpad.net/bugs/1945462

Split the hsw/bdw/skl/kbl get_buf_trans() functions into
clean platform specific variants.

Reviewed-by: Jani Nikula <email address hidden>
Signed-off-by: Ville Syrjälä <email address hidden>
Link: https://patchwork.<email address hidden>
(cherry picked from commit 4441a8e39b628a2a523e808946681a732ac0cfc5)
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>

4d740b0... by =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= <email address hidden>

drm/i915: Introduce encoder->get_buf_trans()

BugLink: https://bugs.launchpad.net/bugs/1945462

Convert the get_buf_trans() functions into an encoder vfunc.
Allows us to get rid of bunch of platform if-ladders.

v2: Handle adl-p

Reviewed-by: Jani Nikula <email address hidden>
Signed-off-by: Ville Syrjälä <email address hidden>
Link: https://patchwork.<email address hidden>
(cherry picked from commit c40a253b719af14fb2c62be72ef7368bd0f8298d)
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>

51c0fca... by Matt Roper <email address hidden>

drm/i915/xelpd: Handle new location of outputs D and E

BugLink: https://bugs.launchpad.net/bugs/1945462

The DDI naming template for display version 12 went A-C, TC1-TC6. With
XE_LPD, that naming scheme for DDI's has now changed to A-E, TC1-TC4.

The XE_LPD design keeps the register offsets and bitfields relating to
the TC outputs in the same location they were previously. The new "D"
and "E" outputs now take the locations that were previously used by TC5
and TC6 outputs, or what we would have considered to be outputs "H" and
"I" under the legacy lettering scheme.

For the most part everything will just work as long as we initialize the
output with the proper 'enum port' value. However we do need to take
care to pick the correct AUX channel when parsing the VBT (e.g., a
reference to 'AUX D' is actually asking us to use the 8th aux channel,
not the fourth). We should also make sure that our encoders and aux
channels are named appropriately so that it's easier to correlate driver
debug messages with the bspec instructions.

v2:
 - Update handling of TGL_TRANS_CLK_SEL_PORT. (Jose)

v3:
 - Add hpd_pin to handle outputs D and E (Jose)
 - Fixed conversion of BIOS port to aux ch for TC ports (Jose)

Cc: José Roberto de Souza <email address hidden>
Cc: Ville Syrjälä <email address hidden>
Signed-off-by: José Roberto de Souza <email address hidden>
Signed-off-by: Matt Roper <email address hidden>
Reviewed-by: Imre Deak <email address hidden>
Link: https://patchwork.freedesktop<email address hidden>
(cherry picked from commit ed2615a85556b5c24bd9353b6f611bbb79ae931e)
Signed-off-by: Alex Hung <email address hidden>
Signed-off-by: Anthony Wong <email address hidden>