projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ecdf4
)
drm/i915/fb: pass display to HAS_GMCH() and DISPLAY_VER()
author
Jani Nikula
<jani.nikula@intel.com>
Wed, 6 Aug 2025 16:55:03 +0000
(19:55 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Thu, 14 Aug 2025 10:12:22 +0000
(13:12 +0300)
Convert some leftover i915 usages to struct intel_display.
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link:
https://lore.kernel.org/r/8a209e3f60039986794123e6b1631185c9234f8f.1754499175.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_fb_pin.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/display/intel_fb_pin.c
b/drivers/gpu/drm/i915/display/intel_fb_pin.c
index
d598a00
..
45af04c
100644
(file)
--- a/
drivers/gpu/drm/i915/display/intel_fb_pin.c
+++ b/
drivers/gpu/drm/i915/display/intel_fb_pin.c
@@
-152,7
+152,7
@@
intel_fb_pin_to_ggtt(const struct drm_framebuffer *fb,
* happy to scanout from anywhere within its global aperture.
*/
pinctl = 0;
- if (HAS_GMCH(d
ev_priv
))
+ if (HAS_GMCH(d
isplay
))
pinctl |= PIN_MAPPABLE;
i915_gem_ww_ctx_init(&ww, true);
@@
-193,7
+193,7
@@
retry:
* mode that matches the user configuration.
*/
ret = i915_vma_pin_fence(vma);
- if (ret != 0 && DISPLAY_VER(d
ev_priv
) < 4) {
+ if (ret != 0 && DISPLAY_VER(d
isplay
) < 4) {
i915_vma_unpin(vma);
goto err_unpin;
}