Loading drivers/gpu/drm/drm_crtc.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -2975,6 +2975,8 @@ static int drm_mode_cursor_universal(struct drm_crtc *crtc, DRM_DEBUG_KMS("failed to wrap cursor buffer in drm framebuffer\n"); DRM_DEBUG_KMS("failed to wrap cursor buffer in drm framebuffer\n"); return PTR_ERR(fb); return PTR_ERR(fb); } } fb->hot_x = req->hot_x; fb->hot_y = req->hot_y; } else { } else { fb = NULL; fb = NULL; } } Loading include/drm/drm_crtc.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -253,6 +253,8 @@ struct drm_framebuffer { int bits_per_pixel; int bits_per_pixel; int flags; int flags; uint32_t pixel_format; /* fourcc format */ uint32_t pixel_format; /* fourcc format */ int hot_x; int hot_y; struct list_head filp_head; struct list_head filp_head; }; }; Loading Loading
drivers/gpu/drm/drm_crtc.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -2975,6 +2975,8 @@ static int drm_mode_cursor_universal(struct drm_crtc *crtc, DRM_DEBUG_KMS("failed to wrap cursor buffer in drm framebuffer\n"); DRM_DEBUG_KMS("failed to wrap cursor buffer in drm framebuffer\n"); return PTR_ERR(fb); return PTR_ERR(fb); } } fb->hot_x = req->hot_x; fb->hot_y = req->hot_y; } else { } else { fb = NULL; fb = NULL; } } Loading
include/drm/drm_crtc.h +2 −0 Original line number Original line Diff line number Diff line Loading @@ -253,6 +253,8 @@ struct drm_framebuffer { int bits_per_pixel; int bits_per_pixel; int flags; int flags; uint32_t pixel_format; /* fourcc format */ uint32_t pixel_format; /* fourcc format */ int hot_x; int hot_y; struct list_head filp_head; struct list_head filp_head; }; }; Loading