Skip to content

Commit 8e04cdd

Browse files
committed
Merge tag 'drm-intel-next-2023-06-10' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
drm/i915 feature pull #2 for v6.5: Features and functionality: - Meteorlake PM demand (Vinod, Mika) - Switch to dedicated workqueues to stop using flush_scheduled_work() (Luca) Refactoring and cleanups: - Move display runtime init under display/ (Matt) - Async flip error message clarifications (Arun) Fixes: - Remove 10bit gamma on desktop gen3 parts, they don't support it (Ville) - Fix driver probe error handling if driver creation fails (Matt) - Fix all -Wunused-but-set-variable warnings, and enable it for i915 (Jani) - Stop using edid_blob_ptr (Jani) - Fix log level for "CDS interlane align done" (Khaled) - Fix an unnecessary include prefix (Matt) Merges: - Backmerge drm-next to sync with drm-intel-gt-next (Jani) Signed-off-by: Dave Airlie <[email protected]> From: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2 parents 901bdf5 + 69f06e4 commit 8e04cdd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1397
-389
lines changed

drivers/gpu/drm/i915/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ subdir-ccflags-y += -Wno-type-limits
1919
subdir-ccflags-y += -Wno-missing-field-initializers
2020
subdir-ccflags-y += -Wno-sign-compare
2121
subdir-ccflags-y += -Wno-shift-negative-value
22-
subdir-ccflags-y += $(call cc-disable-warning, unused-but-set-variable)
22+
subdir-ccflags-y += $(call cc-option, -Wunused-but-set-variable)
2323
subdir-ccflags-y += $(call cc-disable-warning, frame-address)
2424
subdir-ccflags-$(CONFIG_DRM_I915_WERROR) += -Werror
2525

@@ -269,6 +269,7 @@ i915-y += \
269269
display/intel_pch_display.o \
270270
display/intel_pch_refclk.o \
271271
display/intel_plane_initial.o \
272+
display/intel_pmdemand.o \
272273
display/intel_psr.o \
273274
display/intel_quirks.o \
274275
display/intel_sprite.o \

drivers/gpu/drm/i915/display/i9xx_plane.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,10 +1033,13 @@ i9xx_get_initial_plane_config(struct intel_crtc *crtc,
10331033
DSPLINOFF(i9xx_plane));
10341034
base = intel_de_read(dev_priv, DSPSURF(i9xx_plane)) & DISP_ADDR_MASK;
10351035
} else {
1036+
offset = 0;
10361037
base = intel_de_read(dev_priv, DSPADDR(i9xx_plane));
10371038
}
10381039
plane_config->base = base;
10391040

1041+
drm_WARN_ON(&dev_priv->drm, offset != 0);
1042+
10401043
val = intel_de_read(dev_priv, PIPESRC(pipe));
10411044
fb->width = REG_FIELD_GET(PIPESRC_WIDTH_MASK, val) + 1;
10421045
fb->height = REG_FIELD_GET(PIPESRC_HEIGHT_MASK, val) + 1;

drivers/gpu/drm/i915/display/intel_atomic_plane.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ skl_next_plane_to_commit(struct intel_atomic_state *state,
722722
{
723723
struct intel_crtc_state *crtc_state =
724724
intel_atomic_get_new_crtc_state(state, crtc);
725-
struct intel_plane_state *plane_state;
725+
struct intel_plane_state __maybe_unused *plane_state;
726726
struct intel_plane *plane;
727727
int i;
728728

0 commit comments

Comments
 (0)