drm/gma500: Fix Medfield for drm_framebuffer move
Subsystems (3)
PATCH 1/1 drm/gma500: Fix Medfield for drm_framebuffer move
bc61c97502e2 moved the gtt_range structure, from being in psb_framebuffer and embedding the GEM object, to being placed in the drm_framebuffer with the gtt_range being derived from the GEM object.
The conversion missed out the Medfield subdriver, which was not being built in the default drm-misc config. Do the trivial fixup here.
--- drivers/gpu/drm/gma500/mdfld_intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/gma500/mdfld_intel_display.c +1 -1
@@ -196,7 +196,7 @@ static int mdfld__intel_pipe_set_base(struct drm_crtc *crtc, int x, int y,if (!gma_power_begin (dev, true))return 0 ; - start = psbfb->gtt->offset; + start =to_gtt_range (fb->obj[0 ])->offset; offset = y * fb->pitches[0 ] + x * fb->format->cpp[0 ];REG_WRITE (map->stride, fb->pitches[0 ]);
Signature · 6 lines
2.17.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Daniel Stone
bc61c97502e2moved thegtt_rangestructure, from being inpsb_framebufferand embedding the GEM object, to being placed in thedrm_framebufferwith thegtt_rangebeing derived from the GEM object.The conversion missed out the Medfield subdriver, which was not being built in the default drm-misc config. Do the trivial fixup here.
Quoted 8 lines
Signed-off-by Daniel Stone <[email protected]>Reported-by kbuild test robot <[email protected]>Fixes bc61c97502e2 ("drm/gma500: Move GEM BO to drm_framebuffer")Cc Thierry Reding <[email protected]>Cc Patrik Jakobsson <[email protected]>--- drivers/gpu/drm/gma500/mdfld_intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Can you send a patch to enable the Medfield subdriver in the drm-misc default configuration?
This patch:
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 10 lines · Thierry Reding
Quoted 6 lines · Daniel Stone
bc61c97502e2moved thegtt_rangestructure, from being inpsb_framebufferand embedding the GEM object, to being placed in thedrm_framebufferwith thegtt_rangebeing derived from the GEM object.The conversion missed out the Medfield subdriver, which was not being built in the default drm-misc config. Do the trivial fixup here.
Can you send a patch to enable the Medfield subdriver in the drm-misc default configuration?
Thanks Thierry! I went one better, and the drm-misc x86 default config does now build Medfield by default; I pushed that yesterday.
Cheers,
Daniel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Daniel Stone
Quoted 5 lines · Thierry Reding
Quoted 4 lines · Daniel Stone
bc61c97502e2moved thegtt_rangestructure, from being inpsb_framebufferand embedding the GEM object, to being placed in thedrm_framebufferwith thegtt_rangebeing derived from the GEM object.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
The conversion missed out the Medfield subdriver, which was not being built in the default drm-misc config. Do the trivial fixup here.
Can you send a patch to enable the Medfield subdriver in the drm-misc default configuration?
Thanks Thierry! I went one better, and the drm-misc x86 default config does now build Medfield by default; I pushed that yesterday.
Excellent, thanks!
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel