Skip to contentSkip to conversation

drm/i915: make unsupported fb modifier message DRM_DEBUG

PATCH In review Jesse Barnes 5 participants 8 messages Mar 23, 2015 – Mar 25, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: make unsupported fb modifier message DRM_DEBUG

Or users can just spam the log all they want.

References: https://bugs.freedesktop.org/show_bug.cgi?id=89628

---
 drivers/gpu/drm/i915/intel_display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_display.c +2 -2
index 589addf..c48e2d7 100644
@@ -12831,8 +12831,8 @@ static int intel_framebuffer_init(struct drm_device *dev,
 	case I915_FORMAT_MOD_X_TILED:
 		break;
 	default:
-		DRM_ERROR("Unsupported fb modifier 0x%llx!\n",
-				mode_cmd->modifier[0]);
+		DRM_DEBUG("Unsupported fb modifier 0x%llx!\n",
+			  mode_cmd->modifier[0]);
 		return -EINVAL;
 	}
 
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jesse Barnes

Or users can just spam the log all they want.

References: https://bugs.freedesktop.org/show_bug.cgi?id=89628

Quoted 26 lines
---
 drivers/gpu/drm/i915/intel_display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_display.c +2 -2
index 589addf..c48e2d7 100644
@@ -12831,8 +12831,8 @@ static int intel_framebuffer_init(struct drm_device *dev,
 	case I915_FORMAT_MOD_X_TILED:
 		break;
 	default:
-		DRM_ERROR("Unsupported fb modifier 0x%llx!\n",
-				mode_cmd->modifier[0]);
+		DRM_DEBUG("Unsupported fb modifier 0x%llx!\n",
+			  mode_cmd->modifier[0]);
 		return -EINVAL;
 	}
 
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw
Quoted 7 lines · Jani Nikula
Quoted 4 lines · Jesse Barnes

Or users can just spam the log all they want.

References: https://bugs.freedesktop.org/show_bug.cgi?id=89628

Queued for -next, thanks for the patch. And please reference the commit that introduce some broken code and cc author/reviewer of said commit. We're just going through some fun because a cherry-pick broke -rc and it's hard to find all the fixups in -next because they're not properly referenced.
-Daniel

Quoted 35 lines
Quoted 28 lines

---
 drivers/gpu/drm/i915/intel_display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_display.c +2 -2
index 589addf..c48e2d7 100644
@@ -12831,8 +12831,8 @@ static int intel_framebuffer_init(struct drm_device *dev,
 	case I915_FORMAT_MOD_X_TILED:
 		break;
 	default:
-		DRM_ERROR("Unsupported fb modifier 0x%llx!\n",
-				mode_cmd->modifier[0]);
+		DRM_DEBUG("Unsupported fb modifier 0x%llx!\n",
+			  mode_cmd->modifier[0]);
 		return -EINVAL;
 	}
 
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#3 lore raw
Quoted 7 lines · Daniel Vetter
Quoted 6 lines · Jani Nikula
Quoted 4 lines · Jesse Barnes

Or users can just spam the log all they want.

References: https://bugs.freedesktop.org/show_bug.cgi?id=89628

Quoted 7 lines
Quoted 1 line

Queued for -next, thanks for the patch. And please reference the commit that introduce some broken code and cc author/reviewer of said commit. We're just going through some fun because a cherry-pick broke -rc and it's hard to find all the fixups in -next because they're not properly referenced.

In case you still want to update the log:

commit 9a8f0a1290993c86c4e35756a2624bfe461f9036

Author: Tvrtko Ursulin <[email protected]>
Date:   Fri Feb 27 11:15:24 2015 +0000

drm/i915/skl: Allow Y (and Yf) frame buffer creation

Tvrtko already saw it though, this one just happened to slip through when he converted the errors to debug once he was done debugging.

Jesse
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw
Quoted 16 lines · Jesse Barnes
Quoted 7 lines · Daniel Vetter
Quoted 6 lines · Jani Nikula
Quoted 4 lines · Jesse Barnes

Or users can just spam the log all they want.

References: https://bugs.freedesktop.org/show_bug.cgi?id=89628

Quoted 7 lines
Quoted 1 line

Queued for -next, thanks for the patch. And please reference the commit that introduce some broken code and cc author/reviewer of said commit. We're just going through some fun because a cherry-pick broke -rc and it's hard to find all the fixups in -next because they're not properly referenced.

Quoted 7 lines

In case you still want to update the log:

commit 9a8f0a1290993c86c4e35756a2624bfe461f9036

Author: Tvrtko Ursulin <[email protected]>
Date:   Fri Feb 27 11:15:24 2015 +0000

drm/i915/skl: Allow Y (and Yf) frame buffer creation

Commit message updated, thanks.
-Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#5 lore raw
In reply to Jesse Barnes
Quoted 13 lines · Jesse Barnes

Or users can just spam the log all they want.

References: https://bugs.freedesktop.org/show_bug.cgi?id=89628

---
  drivers/gpu/drm/i915/intel_display.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_display.c +0 -0
index 589addf..c48e2d7 100644

drivers/gpu/drm/i915/intel_display.c static int intel_framebuffer_init(struct drm_device *dev, · line 12837

Quoted 9 lines
drivers/gpu/drm/i915/intel_display.c +2 -2
@@ -12831,8 +12831,8 @@ static int intel_framebuffer_init(struct drm_device *dev,
  	case I915_FORMAT_MOD_X_TILED:
  		break;
  	default:
-		DRM_ERROR("Unsupported fb modifier 0x%llx!\n",
-				mode_cmd->modifier[0]);
+		DRM_DEBUG("Unsupported fb modifier 0x%llx!\n",
+			  mode_cmd->modifier[0]);
  		return -EINVAL;
  	}

Ooops! The one that got away.. I always think about this very issue as you can see from three DRM_DEBUGs just above this offender. No idea how this one sneaked in but thanks for fixing it!

Regards,

Tvrtko
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#6 lore raw
Quoted 22 lines · Tvrtko Ursulin
Quoted 20 lines · Jesse Barnes

Or users can just spam the log all they want.

References: https://bugs.freedesktop.org/show_bug.cgi?id=89628

---
  drivers/gpu/drm/i915/intel_display.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_display.c +0 -2
index 589addf..c48e2d7 100644
@@ -12831,8 +12831,8 @@ static int intel_framebuffer_init(struct
 drm_device *dev,
      case I915_FORMAT_MOD_X_TILED:
          break;
      default:
-        DRM_ERROR("Unsupported fb modifier 0x%llx!\n",
-                mode_cmd->modifier[0]);
Quoted 8 lines

drivers/gpu/drm/i915/intel_display.c static int intel_framebuffer_init(struct drm_device *dev, · line 12837

Quoted 4 lines
drivers/gpu/drm/i915/intel_display.c +2 -0
+        DRM_DEBUG("Unsupported fb modifier 0x%llx!\n",
+              mode_cmd->modifier[0]);
          return -EINVAL;
      }

Ooops! The one that got away.. I always think about this very issue as you can see from three DRM_DEBUGs just above this offender. No idea how this one sneaked in but thanks for fixing it!

Yeah no problem, we used to have a lot more but I think we're getting better. One sneaks in every now and then though!

Jesse

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Tested-by on v1 1/1
#7 lore raw
In reply to Jesse Barnes

Task id: 6033 -------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied

PNV                                  275/275              275/275
ILK                                  303/303              303/303
SNB                                  304/304              304/304
IVB                                  339/339              339/339
BYT                                  287/287              287/287
HSW                                  361/361              361/361
BDW                                  310/310              310/310

-------------------------------------Detailed-------------------------------------
Platform Test drm-intel-nightly Series Applied
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx