Skip to content

Commit

Permalink
drm/i915/mtl: Skip pcode qgv restrictions for MTL
Browse files Browse the repository at this point in the history
Communicating QGV points restriction to PUnit happens via PM Demand
instead of the Pcode mailbox in the previous platforms. GV point
restriction is handled by the PM demand code.

Signed-off-by: Radhakrishna Sripada <[email protected]>
Reviewed-by: Vinod Govindapillai <[email protected]>
Signed-off-by: Stanislav Lisovskiy <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
rkinvictus authored and StanFox1984 committed Apr 21, 2023
1 parent bfa010f commit 6152aec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/i915/display/intel_bw.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ int icl_pcode_restrict_qgv_points(struct drm_i915_private *dev_priv,
{
int ret;

if (DISPLAY_VER(dev_priv) >= 14)
return 0;

/* bspec says to keep retrying for at least 1 ms */
ret = skl_pcode_request(&dev_priv->uncore, ICL_PCODE_SAGV_DE_MEM_SS_CONFIG,
points_mask,
Expand Down

0 comments on commit 6152aec

Please sign in to comment.